perf session: Reduce the number of parms to perf_session__process_events
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 13 Dec 2009 21:50:27 +0000 (19:50 -0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 14 Dec 2009 15:57:16 +0000 (16:57 +0100)
commitec913369733923dbfd6bdff5953a918107059701
tree4c4397f5de47bb1352bfed874919bb438b6e4816
parent13df45ca1c9a430d5f53862854070fcc324e015c
perf session: Reduce the number of parms to perf_session__process_events

By having the cwd/cwdlen in the perf_session struct and
full_paths in perf_event_ops.

Now its just a matter of passing the ops.

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: <1260741029-4430-4-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-annotate.c
tools/perf/builtin-kmem.c
tools/perf/builtin-report.c
tools/perf/builtin-sched.c
tools/perf/builtin-timechart.c
tools/perf/builtin-trace.c
tools/perf/util/data_map.c
tools/perf/util/event.c
tools/perf/util/session.c
tools/perf/util/session.h