diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-12-11 18:24:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-12 01:42:12 -0500 |
commit | 94c744b6c0c6c5802a85ebfebbec429ac5851f2b (patch) | |
tree | e34dcaca54f1d7752ab1e7974bb73f94ff3cf94c /tools/perf/Makefile | |
parent | ea08d8cbd162fe3756e3e2298efbe0b8b12f92d1 (diff) |
perf tools: Introduce perf_session class
That does all the initialization boilerplate, opening the file,
reading the header, checking if it is valid, etc.
And that will as well have the threads list, kmap (now) global
variable, etc, so that we can handle two (or more) perf.data files
describing sessions to compare.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1260573842-19720-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r-- | tools/perf/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index e2ee3b589af7..406999668cab 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -356,7 +356,9 @@ LIB_H += util/parse-options.h | |||
356 | LIB_H += util/parse-events.h | 356 | LIB_H += util/parse-events.h |
357 | LIB_H += util/quote.h | 357 | LIB_H += util/quote.h |
358 | LIB_H += util/util.h | 358 | LIB_H += util/util.h |
359 | LIB_H += util/header.h | ||
359 | LIB_H += util/help.h | 360 | LIB_H += util/help.h |
361 | LIB_H += util/session.h | ||
360 | LIB_H += util/strbuf.h | 362 | LIB_H += util/strbuf.h |
361 | LIB_H += util/string.h | 363 | LIB_H += util/string.h |
362 | LIB_H += util/strlist.h | 364 | LIB_H += util/strlist.h |
@@ -405,6 +407,7 @@ LIB_OBJS += util/callchain.o | |||
405 | LIB_OBJS += util/values.o | 407 | LIB_OBJS += util/values.o |
406 | LIB_OBJS += util/debug.o | 408 | LIB_OBJS += util/debug.o |
407 | LIB_OBJS += util/map.o | 409 | LIB_OBJS += util/map.o |
410 | LIB_OBJS += util/session.o | ||
408 | LIB_OBJS += util/thread.o | 411 | LIB_OBJS += util/thread.o |
409 | LIB_OBJS += util/trace-event-parse.o | 412 | LIB_OBJS += util/trace-event-parse.o |
410 | LIB_OBJS += util/trace-event-read.o | 413 | LIB_OBJS += util/trace-event-read.o |