summaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
authorFrederic Weisbecker2009-06-26 16:28:00 +0200
committerIngo Molnar2009-06-26 16:47:00 +0200
commit8cb76d99d715741637b6d0884f389e17e9cb05d2 (patch)
treeb4a66b3688390bc2571e4ddd0fa16a1cc0515c71 /tools/perf/Makefile
parentperf record: Fix unhandled io return value (diff)
downloadkernel-qcow2-linux-8cb76d99d715741637b6d0884f389e17e9cb05d2.tar.gz
kernel-qcow2-linux-8cb76d99d715741637b6d0884f389e17e9cb05d2.tar.xz
kernel-qcow2-linux-8cb76d99d715741637b6d0884f389e17e9cb05d2.zip
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/Makefile')
-rw-r--r--tools/perf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index d3887ed51a64..1c1296d8a64b 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -329,6 +329,7 @@ LIB_OBJS += util/symbol.o
LIB_OBJS += util/color.o
LIB_OBJS += util/pager.o
LIB_OBJS += util/header.o
+LIB_OBJS += util/callchain.o
BUILTIN_OBJS += builtin-annotate.o
BUILTIN_OBJS += builtin-help.o