summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorNelson Elhage2011-12-19 14:39:31 +0100
committerArnaldo Carvalho de Melo2011-12-23 19:44:34 +0100
commit18e6093904abfd51671ff5846c2fdaba9ebbf21b (patch)
tree5ff067b1fefef24fb8ba91496d7dcbf2a9f06f7d /tools/perf/util/util.h
parentperf tools: Fix truncated annotation (diff)
downloadkernel-qcow2-linux-18e6093904abfd51671ff5846c2fdaba9ebbf21b.tar.gz
kernel-qcow2-linux-18e6093904abfd51671ff5846c2fdaba9ebbf21b.tar.xz
kernel-qcow2-linux-18e6093904abfd51671ff5846c2fdaba9ebbf21b.zip
perf: builtin-record: Provide advice if mmap'ing fails with EPERM.
This failure is most likely due to running up against the kernel.perf_event_mlock_kb sysctl, so we can tell the user what to do to fix the issue. Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1324301972-22740-3-git-send-email-nelhage@nelhage.com Signed-off-by: Nelson Elhage <nelhage@nelhage.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.h')
0 files changed, 0 insertions, 0 deletions