aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2011-04-27 02:24:57 +0000
committerIngo Molnar <[email protected]>2011-04-26 18:04:55 +0000
commit749141d926faf23ef811686a8050e7cf13dc223f (patch)
tree8db58adb1707ae99602c97686057bd10af25279d /tools/perf/util/python.c
parentperf stat: Fail more clearly when an invalid modifier is specified (diff)
downloadkernel-749141d926faf23ef811686a8050e7cf13dc223f.tar.gz
kernel-749141d926faf23ef811686a8050e7cf13dc223f.zip
perf stat: Make all displayed event names parseable as well
Right now we display this by default: 0.202204 task-clock-msecs # 0.282 CPUs 0 context-switches # 0.000 M/sec 0 CPU-migrations # 0.000 M/sec 85 page-faults # 0.420 M/sec The task-clock-msecs event cannot actually be passed back as an event name, the event name we recognize is 'task-clock'. So change the output of the cpu-clock and task-clock events to be idempotent. ( Units should be printed out in the right-side column, if needed. ) Acked-by: Peter Zijlstra <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions