diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-03-22 13:10:28 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-22 18:47:35 +0100 |
commit | 084ab9f862416b2ddb4bb9804884de19bf09774d (patch) | |
tree | 3e6bf779f4e7f75da57a381fab2aa9f60316fb01 /Documentation/rt-mutex-design.txt | |
parent | ca721e45b39209415d2288dbac3667b26d9d1def (diff) | |
download | kernel_samsung_smdk4412-084ab9f862416b2ddb4bb9804884de19bf09774d.tar.gz kernel_samsung_smdk4412-084ab9f862416b2ddb4bb9804884de19bf09774d.tar.bz2 kernel_samsung_smdk4412-084ab9f862416b2ddb4bb9804884de19bf09774d.zip |
perf stat: Better report failure to collect system wide stats
Before:
[acme@doppio linux-2.6-tip]$ perf stat -a sleep 1s
Performance counter stats for 'sleep 1s':
<not counted> task-clock-msecs
<not counted> context-switches
<not counted> CPU-migrations
<not counted> page-faults
<not counted> cycles
<not counted> instructions
<not counted> branches
<not counted> branch-misses
<not counted> cache-references
<not counted> cache-misses
1.016998463 seconds time elapsed
[acme@doppio linux-2.6-tip]$
Now:
[acme@doppio linux-2.6-tip]$ perf stat -a sleep 1s
No permission to collect system-wide stats.
Consider tweaking /proc/sys/kernel/perf_event_paranoid.
[acme@doppio linux-2.6-tip]$
Reported-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: <1269274229-20442-4-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/rt-mutex-design.txt')
0 files changed, 0 insertions, 0 deletions