]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf record: Mention paranoid sysctl when failing to create counter
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 11 Mar 2010 18:53:12 +0000 (15:53 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Mar 2010 19:00:48 +0000 (20:00 +0100)
commit6230f2c7ef01a69e2ba9370326572c287209d32a
treeec8c42151dd9a7d280c220d5a0752b2aabf7d538
parent9b33fa6ba0e2f90fdf407501db801c2511121564
perf record: Mention paranoid sysctl when failing to create counter

[acme@mica linux-2.6-tip]$ perf record -a -f
   Fatal: Permission error - are you root?
   Consider tweaking /proc/sys/kernel/perf_event_paranoid.

 [acme@mica linux-2.6-tip]$

Suggested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1268333592-30872-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c