diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2010-03-22 16:10:28 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-03-22 17:47:35 +0000 |
| commit | 084ab9f862416b2ddb4bb9804884de19bf09774d (patch) | |
| tree | 3e6bf779f4e7f75da57a381fab2aa9f60316fb01 /tools/perf/builtin-annotate.c | |
| parent | perf probe: Add NO_DWARF make option (diff) | |
| download | kernel-084ab9f862416b2ddb4bb9804884de19bf09774d.tar.gz kernel-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 <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
