aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-04-15 17:46:31 -0300
committerArnaldo Carvalho de Melo <[email protected]>2016-04-15 17:46:31 -0300
commitf5e7150cd9a7779a54b192d21afb9245384db8bc (patch)
treee061fe5d0e029765c5c4e57d68cc503198f66bba /tools/perf/scripts/python/syscall-counts-by-pid.py
parent056149932602ef905f1e26fc4fe242ef0533a597 (diff)
perf evlist: Expose perf_event_mlock_kb_in_pages() helper
When the user doesn't set --mmap-pages, perf_evlist__mmap() will do it by reading the maximum possible for a non-root user from the /proc/sys/kernel/perf_event_mlock_kb file. Expose that function so that 'perf trace' can, for root users, to bump mmap-pages to a higher value for root, based on the contents of this proc file. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Milian Wolff <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions