summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-06-13 13:35:00 +0200
committerIngo Molnar <mingo@elte.hu>2009-06-13 13:40:03 +0200
commit44175b6f397a6724121eeaf0f072e2c912a46614 (patch)
tree3a4f703fd90c9c10fa0fd1c88c51abfbb1f40003 /tools/perf/util/parse-events.c
parentf4db43a38f7387c3b19c9565124c06ab0c5d6e9a (diff)
downloadlinux-44175b6f397a6724121eeaf0f072e2c912a46614.tar.gz
linux-44175b6f397a6724121eeaf0f072e2c912a46614.tar.bz2
linux-44175b6f397a6724121eeaf0f072e2c912a46614.zip
perf stat: Reorganize output
- use IPC for the instruction normalization output - CPUs for the CPU utilization factor value. - print out time elapsed like the other rows - tidy up the task-clocks/cpu-clocks printout Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/parse-events.c')
-rw-r--r--tools/perf/util/parse-events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 5a72586e1df0..f0c9f2627fe1 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -63,8 +63,8 @@ static char *hw_event_names[] = {
};
static char *sw_event_names[] = {
- "cpu-clock-ticks",
- "task-clock-ticks",
+ "cpu-clock-msecs",
+ "task-clock-msecs",
"page-faults",
"context-switches",
"CPU-migrations",