Files
android_kernel_xiaomi_sm8450/tools/perf/util
Arnaldo Carvalho de Melo f5e7150cd9 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 <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-xay69plylwibpb3l4isrpl1k@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-04-15 17:46:31 -03:00
..
2013-12-27 15:17:00 -03:00
2015-12-07 18:13:00 -03:00
2015-12-17 14:27:14 -03:00
2015-05-27 12:21:43 -03:00
2016-04-13 10:11:50 -03:00
2016-04-13 10:11:50 -03:00
2016-02-16 17:13:00 -03:00
2016-02-16 17:13:00 -03:00
2016-03-31 10:52:24 -03:00
2015-08-21 11:34:10 -03:00
2015-08-06 16:49:01 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2016-03-10 16:47:19 -03:00
2016-03-31 10:52:24 -03:00
2014-05-01 21:22:39 +02:00
2016-03-23 12:32:31 -03:00
2016-04-07 10:21:49 -03:00
2014-05-01 21:22:39 +02:00
2015-05-29 12:43:44 -03:00