You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Ahern
2cee77c450
perf stat: clarify unsupported events from uncounted events
perf stat continues running even if the event list contains counters
that are not supported. The resulting output then contains <not counted>
for those events which gets confusing as to which events are supported,
but not counted and which are not supported.
Before:
perf stat -ddd -- sleep 1
Performance counter stats for 'sleep 1':
0.571283 task-clock # 0.001 CPUs utilized
1 context-switches # 0.002 M/sec
0 CPU-migrations # 0.000 M/sec
157 page-faults # 0.275 M/sec
1,037,707 cycles # 1.816 GHz
<not counted> stalled-cycles-frontend
<not counted> stalled-cycles-backend
654,499 instructions # 0.63 insns per cycle
136,129 branches # 238.286 M/sec
<not counted> branch-misses
<not counted> L1-dcache-loads
<not counted> L1-dcache-load-misses
<not counted> LLC-loads
<not counted> LLC-load-misses
<not counted> L1-icache-loads
<not counted> L1-icache-load-misses
<not counted> dTLB-loads
<not counted> dTLB-load-misses
<not counted> iTLB-loads
<not counted> iTLB-load-misses
<not counted> L1-dcache-prefetches
<not counted> L1-dcache-prefetch-misses
1.001004836 seconds time elapsed
After:
perf stat -ddd -- sleep 1
Performance counter stats for 'sleep 1':
1.350326 task-clock # 0.001 CPUs utilized
2 context-switches # 0.001 M/sec
0 CPU-migrations # 0.000 M/sec
157 page-faults # 0.116 M/sec
11,986 cycles # 0.009 GHz
<not supported> stalled-cycles-frontend
<not supported> stalled-cycles-backend
496,986 instructions # 41.46 insns per cycle
138,065 branches # 102.246 M/sec
7,245 branch-misses # 5.25% of all branches
<not counted> L1-dcache-loads
<not counted> L1-dcache-load-misses
<not counted> LLC-loads
<not counted> LLC-load-misses
<not counted> L1-icache-loads
<not counted> L1-icache-load-misses
<not counted> dTLB-loads
<not counted> dTLB-load-misses
<not counted> iTLB-loads
<not counted> iTLB-load-misses
<not counted> L1-dcache-prefetches
<not supported> L1-dcache-prefetch-misses
1.002397333 seconds time elapsed
v1->v2:
changed supported type from int to bool
v2->v3
fixed vertical alignment of new struct element
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1306767359-13221-1-git-send-email-dsahern@gmail.com
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
14 years ago |
.. |
Documentation
|
Merge branches 'sched-core-for-linus' and 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
|
14 years ago |
arch
|
[S390] perf: add DWARF register lookup for s390
|
14 years ago |
bench
|
perf tool: Fix gcc 4.6.0 issues
|
14 years ago |
config
|
perf tools: git mv tools/perf/{features-tests.mak,config/}
|
14 years ago |
python
|
perf evlist: Store pointer to the cpu and thread maps
|
14 years ago |
scripts
|
perf script: Finish the rename from trace to script
|
14 years ago |
util
|
perf stat: clarify unsupported events from uncounted events
|
14 years ago |
.gitignore
|
perf tools: Makefile: Remove various and sundry cruft
|
14 years ago |
CREDITS
|
…
|
|
MANIFEST
|
perf packaging: add memcpy to perf MANIFEST
|
14 years ago |
Makefile
|
perf tools: Fix build on older systems
|
14 years ago |
builtin-annotate.c
|
perf: Remove duplicate headers
|
14 years ago |
builtin-bench.c
|
perf options: Type check all the remaining OPT_ variants
|
15 years ago |
builtin-buildid-cache.c
|
perf buildid: add perfconfig option to specify buildid cache dir
|
15 years ago |
builtin-buildid-list.c
|
Merge commit 'v2.6.37-rc8' into perf/core
|
14 years ago |
builtin-diff.c
|
perf session: Pass evsel in event_ops->sample()
|
14 years ago |
builtin-evlist.c
|
perf evlist: New command to list the names of events present in a perf.data file
|
14 years ago |
builtin-help.c
|
perf options: Type check all the remaining OPT_ variants
|
15 years ago |
builtin-inject.c
|
perf session: Pass evsel in event_ops->sample()
|
14 years ago |
builtin-kmem.c
|
perf session: Pass evsel in event_ops->sample()
|
14 years ago |
builtin-kvm.c
|
perf options: Type check all the remaining OPT_ variants
|
15 years ago |
builtin-list.c
|
perf list: Allow filtering list of events
|
14 years ago |
builtin-lock.c
|
perf session: Pass evsel in event_ops->sample()
|
14 years ago |
builtin-probe.c
|
perf probe: Use %td for pointer arithmetic result
|
14 years ago |
builtin-record.c
|
perf tools: Make sure kptr_restrict warnings fit 80 col terms
|
14 years ago |
builtin-report.c
|
perf tools: Make sure kptr_restrict warnings fit 80 col terms
|
14 years ago |
builtin-sched.c
|
perf session: Pass evsel in event_ops->sample()
|
14 years ago |
builtin-script.c
|
perf: Remove duplicate headers
|
14 years ago |
builtin-stat.c
|
perf stat: clarify unsupported events from uncounted events
|
14 years ago |
builtin-test.c
|
perf evlist: Don't die if sample_{id_all|type} is invalid
|
14 years ago |
builtin-timechart.c
|
perf session: Pass evsel in event_ops->sample()
|
14 years ago |
builtin-top.c
|
perf top: Don't stop if no kernel symtab is found
|
14 years ago |
builtin.h
|
perf evlist: New command to list the names of events present in a perf.data file
|
14 years ago |
command-list.txt
|
perf evlist: New command to list the names of events present in a perf.data file
|
14 years ago |
design.txt
|
…
|
|
perf-archive.sh
|
perf buildid: add perfconfig option to specify buildid cache dir
|
15 years ago |
perf.c
|
perf evlist: New command to list the names of events present in a perf.data file
|
14 years ago |
perf.h
|
perf record: Move perf_mmap__write_tail to perf.h
|
14 years ago |