aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorLiping Zhang <[email protected]>2017-04-07 23:51:06 +0800
committerLinus Torvalds <[email protected]>2017-04-07 09:46:44 -0700
commit5380e5644afbba9e3d229c36771134976f05c91e (patch)
treeec273fa8b308ad2c7a0a3d1fa3cc8f8b092c602f /tools/perf/scripts/python/call-graph-from-postgresql.py
parent1680a3868f00be638a8a213a321e88d11ce7e9f7 (diff)
sysctl: don't print negative flag for proc_douintvec
I saw some very confusing sysctl output on my system: # cat /proc/sys/net/core/xfrm_aevent_rseqth -2 # cat /proc/sys/net/core/xfrm_aevent_etime -10 # cat /proc/sys/net/ipv4/tcp_notsent_lowat -4294967295 Because we forget to set the *negp flag in proc_douintvec, so it will become a garbage value. Since the value related to proc_douintvec is always an unsigned integer, so we can set *negp to false explictily to fix this issue. Fixes: e7d316a02f68 ("sysctl: handle error writing UINT_MAX to u32 fields") Signed-off-by: Liping Zhang <[email protected]> Cc: Subash Abhinov Kasiviswanathan <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions