diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-06-26 10:28:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-26 10:47:00 -0400 |
commit | 8cb76d99d715741637b6d0884f389e17e9cb05d2 (patch) | |
tree | b4a66b3688390bc2571e4ddd0fa16a1cc0515c71 /tools/perf/builtin-report.c | |
parent | 3928ddbe994cce1da1b6365b0db04d5765f254f4 (diff) |
perf_counter tools: Prepare a small callchain framework
We plan to display the callchains depending on some user-configurable
parameters.
To gather the callchains stats from the recorded stream in a fast way,
this patch introduces an ad hoc radix tree adapted for callchains and also
a rbtree to sort these callchains once we have gathered every events
from the stream.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1246026481-8314-2-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 681c2233f882..28d1cb2127e9 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -62,11 +62,6 @@ struct ip_event { | |||
62 | unsigned char __more_data[]; | 62 | unsigned char __more_data[]; |
63 | }; | 63 | }; |
64 | 64 | ||
65 | struct ip_callchain { | ||
66 | u64 nr; | ||
67 | u64 ips[0]; | ||
68 | }; | ||
69 | |||
70 | struct mmap_event { | 65 | struct mmap_event { |
71 | struct perf_event_header header; | 66 | struct perf_event_header header; |
72 | u32 pid, tid; | 67 | u32 pid, tid; |