kernel_optimize_test/tools/perf/util
Arnaldo Carvalho de Melo 94c744b6c0 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>
2009-12-12 07:42:12 +01:00
..
include perf symbols: Simplify symbol machinery setup 2009-11-24 16:37:02 +01:00
abspath.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
alias.c
cache.h perf tools: Do not manually count string lengths 2009-10-13 11:55:31 +02:00
callchain.c perf tools: Unify debug messages mechanisms 2009-10-23 08:22:47 +02:00
callchain.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
color.c perf tools: Librarize trace_event() helper 2009-08-16 23:06:45 +02:00
color.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
config.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
ctype.c perf tools: Move graph_line and graph_dotted_line from top 2009-11-23 21:55:20 +01:00
data_map.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
data_map.h perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
debug.c perf tools: Unify debug messages mechanisms 2009-10-23 08:22:47 +02:00
debug.h perf tools: Debug.h needs to include event.h for event_t 2009-11-16 22:05:50 +01:00
debugfs.c perf tools: Add debugfs utility routines for perf 2009-11-08 18:01:34 +01:00
debugfs.h perf tools: Add debugfs utility routines for perf 2009-11-08 18:01:34 +01:00
environment.c
event.c perf symbols: Rename kthreads to kmaps, using another abstraction for it 2009-12-12 07:42:09 +01:00
event.h perf symbols: Allow lookups by symbol name too 2009-12-12 07:42:11 +01:00
exec_cmd.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
exec_cmd.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
generate-cmdlist.sh
header.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
header.h perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
help.c
help.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
hist.c perf tools: Consolidate symbol resolving across all tools 2009-11-27 20:22:02 +01:00
hist.h perf tools: Consolidate symbol resolving across all tools 2009-11-27 20:22:02 +01:00
levenshtein.c
levenshtein.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
map.c perf symbols: Ditch dso->find_symbol 2009-12-12 07:42:11 +01:00
pager.c
parse-events.c perf tools: Optimize parse_subsystem_tracepoint_event() 2009-12-07 08:09:29 +01:00
parse-events.h perf trace: Add filter Suppport 2009-10-15 11:35:23 +02:00
parse-options.c perf tools: Align long options which have no short forms 2009-12-10 08:30:28 +01:00
parse-options.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
path.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
PERF-VERSION-GEN perf tools: Bump version to 0.0.2 2009-10-16 10:34:28 +02:00
probe-event.c perf tools: Correct size given to memset 2009-12-10 08:30:26 +01:00
probe-event.h perf probe: Support --del option 2009-12-09 07:26:53 +01:00
probe-finder.c perf probe: Fix strtailcmp() to compare s1and s2[0] 2009-12-07 18:33:20 +01:00
probe-finder.h perf/probes: Support function entry relative line number 2009-10-29 08:47:49 +01:00
quote.c
quote.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
run-command.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
run-command.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
session.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
session.h perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
sigchain.c
sigchain.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
sort.c perf tools: Bind callchains to the first sort dimension column 2009-10-23 07:55:18 +02:00
sort.h perf tools: Bind callchains to the first sort dimension column 2009-10-23 07:55:18 +02:00
strbuf.c
strbuf.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
string.c perf tools: Fix _GNU_SOURCE macro related strndup() build error 2009-12-02 09:24:56 +01:00
string.h perf probe: Add argv_split() from lib/argv_split.c 2009-12-01 08:20:02 +01:00
strlist.c
strlist.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
svghelper.c perf timechart: Improve the visual appearance of scheduler delays 2009-10-20 03:39:21 +02:00
svghelper.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
symbol.c perf symbols: Ditch dso->find_symbol 2009-12-12 07:42:11 +01:00
symbol.h perf symbols: Ditch dso->find_symbol 2009-12-12 07:42:11 +01:00
thread.c perf symbols: Add missing "Variables" entry to map_type__name 2009-12-12 07:42:10 +01:00
thread.h perf symbols: Allow lookups by symbol name too 2009-12-12 07:42:11 +01:00
trace-event-info.c perf trace: Read_tracing_data should die() another day 2009-11-21 17:45:59 +01:00
trace-event-parse.c perf tools: Correct size given to memset 2009-12-10 08:30:26 +01:00
trace-event-perl.c perf trace/scripting: Don't display 'scripting unsupported' msg unnecessarily 2009-12-07 08:05:07 +01:00
trace-event-perl.h perf trace/scripting: Fix compile error when libperl not installed 2009-12-07 06:31:37 +01:00
trace-event-read.c perf tools: Misc small fixes 2009-12-06 18:15:02 +01:00
trace-event.h perf trace: Add interface to access perf data from Perl handlers 2009-11-28 10:04:27 +01:00
types.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
usage.c
util.h perf tools: Remove unused wrapper routines 2009-11-24 16:37:03 +01:00
values.c perf: Enable more compiler warnings 2009-08-16 10:47:47 +02:00
values.h perf tools: Protect header files with a consistent style 2009-09-24 21:27:51 +02:00
wrapper.c perf tools: Remove unused wrapper routines 2009-11-24 16:37:03 +01:00