summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJia He <hejianet@gmail.com>2021-08-03 12:59:37 +0200
committerChuck Lever <chuck.lever@oracle.com>2021-08-17 11:47:53 -0400
commitd02a3a2cb25d384005a6e3446a445013342024b7 (patch)
tree1a5bdfcb812c34ced7ded8fe69d2a1249dc9529d /tools/perf/scripts/python/export-to-postgresql.py
parenta2071573d6346819cc4e5787b4206f2184985160 (diff)
lockd: change the proc_handler for nsm_use_hostnames
nsm_use_hostnames is a module parameter and it will be exported to sysctl procfs. This is to let user sometimes change it from userspace. But the minimal unit for sysctl procfs read/write it sizeof(int). In big endian system, the converting from/to bool to/from int will cause error for proc items. This patch use a new proc_handler proc_dobool to fix it. Signed-off-by: Jia He <hejianet@gmail.com> Reviewed-by: Pan Xinhui <xinhui.pan@linux.vnet.ibm.com> [thuth: Fix typo in commit message] Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions