From: Nelson Elhage Date: Mon, 19 Dec 2011 13:39:31 +0000 (-0500) Subject: perf: builtin-record: Provide advice if mmap'ing fails with EPERM. X-Git-Tag: v3.3-rc1~192^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18e6093904abfd51671ff5846c2fdaba9ebbf21b;p=pandora-kernel.git 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 Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1324301972-22740-3-git-send-email-nelhage@nelhage.com Signed-off-by: Nelson Elhage Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed