]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf report: Add raw displaying of per-thread counters
authorBrice Goglin <Brice.Goglin@inria.fr>
Mon, 10 Aug 2009 13:26:32 +0000 (15:26 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 10 Aug 2009 13:48:17 +0000 (15:48 +0200)
commit9f8666971185b86615a074bcac67c90fdf8af8bc
tree65ce554d9f7eea0c4458a1051ea1c1469a51a47f
parent8d51327090ac025d7f4ce6c059786b5e93513321
perf report: Add raw displaying of per-thread counters

If --pretty=raw is given to perf report -T, it now displays one
line per-thread per-counter with the raw event id added.

We get:
 #   PID    TID              Name  Raw    Count
   18608  18609      cache-misses  28e   416744
   18608  18609  cache-references  28f  6456792
   18608  18608      cache-misses  28e   448219
   18608  18608  cache-references  28f  7270244
 instead of:

#   PID    TID  cache-misses  cache-references
   18608  18609        416744           6456792
   18608  18608        448219           7270244

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Acked-by: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <4A802008.5050409@inria.fr>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-report.c
tools/perf/util/values.c
tools/perf/util/values.h