perf tools: Move event__parse_sample to evsel.c
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 21 Jan 2011 15:46:41 +0000 (13:46 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Jan 2011 15:17:56 +0000 (13:17 -0200)
commitd0dd74e853a0a6f37e8061d6d50be41c7034c54c
tree1292a98711611cbc4595785ed17605f20a90800c
parentfd78260b5376173faeb17127bd63b3c99a8e8bfb
perf tools: Move event__parse_sample to evsel.c

To avoid linking more stuff in the python binding I'm working on, future
csets will make the sample type be taken from the evsel itself, but for
that we need to first have one file per cpu and per sample_type, not a
single perf.data file.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-test.c
tools/perf/builtin-top.c
tools/perf/util/event.c
tools/perf/util/event.h
tools/perf/util/evsel.c
tools/perf/util/session.c
tools/perf/util/session.h