aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-10-07 06:47:31 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-08 10:56:32 -0400
commit016e92fbc9ef33689cf654f343a94383d43235e7 (patch)
treeedf9dc21d037ea138300b7e7e32574e6f6f17fb2 /tools/perf/Makefile
parent03456a158d9067d2f657bec170506009db81756d (diff)
perf tools: Unify perf.data mapping and events handling
This librarizes the perf.data file mapping and handling in various perf tools, roughly reducing the amount of code and fixing the places that mmap from beginning of the file whereas we want to mmap from the beginning of the data, leading to page fault because the mmap window is too small since the trace info are written in the file too. TODO: - convert perf timechart too Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arjan van de Ven <arjan@infradead.org> LKML-Reference: <20091007104729.GD5043@nowhere> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 5a429966c995..495eb6d97fa0 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -342,6 +342,7 @@ LIB_H += util/values.h
342LIB_H += util/sort.h 342LIB_H += util/sort.h
343LIB_H += util/hist.h 343LIB_H += util/hist.h
344LIB_H += util/thread.h 344LIB_H += util/thread.h
345LIB_H += util/data_map.h
345 346
346LIB_OBJS += util/abspath.o 347LIB_OBJS += util/abspath.o
347LIB_OBJS += util/alias.o 348LIB_OBJS += util/alias.o
@@ -378,6 +379,7 @@ LIB_OBJS += util/trace-event-info.o
378LIB_OBJS += util/svghelper.o 379LIB_OBJS += util/svghelper.o
379LIB_OBJS += util/sort.o 380LIB_OBJS += util/sort.o
380LIB_OBJS += util/hist.o 381LIB_OBJS += util/hist.o
382LIB_OBJS += util/data_map.o
381 383
382BUILTIN_OBJS += builtin-annotate.o 384BUILTIN_OBJS += builtin-annotate.o
383BUILTIN_OBJS += builtin-help.o 385BUILTIN_OBJS += builtin-help.o