aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/values.h
diff options
context:
space:
mode:
authorBrice Goglin <Brice.Goglin@inria.fr>2009-08-10 15:26:32 +0200
committerIngo Molnar <mingo@elte.hu>2009-08-10 15:48:17 +0200
commit9f8666971185b86615a074bcac67c90fdf8af8bc (patch)
tree65ce554d9f7eea0c4458a1051ea1c1469a51a47f /tools/perf/util/values.h
parentperf report: Fix and improve the displaying of per-thread event counters (diff)
downloadlinux-dev-9f8666971185b86615a074bcac67c90fdf8af8bc.tar.xz
linux-dev-9f8666971185b86615a074bcac67c90fdf8af8bc.zip
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>
Diffstat (limited to 'tools/perf/util/values.h')
-rw-r--r--tools/perf/util/values.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/values.h b/tools/perf/util/values.h
index e41be5e86e6b..f8960fde0547 100644
--- a/tools/perf/util/values.h
+++ b/tools/perf/util/values.h
@@ -21,6 +21,7 @@ void perf_read_values_add_value(struct perf_read_values *values,
u32 pid, u32 tid,
u64 rawid, char *name, u64 value);
-void perf_read_values_display(FILE *fp, struct perf_read_values *values);
+void perf_read_values_display(FILE *fp, struct perf_read_values *values,
+ int raw);
#endif /* _PERF_VALUES_H */