perf session: Ditch register_perf_file_handler
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 13 Dec 2009 21:50:25 +0000 (19:50 -0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 14 Dec 2009 15:57:15 +0000 (16:57 +0100)
commit301a0b020210360c6e441c7765521248bc87d58e
tree5321a8ab67584d0aac0e3df9a749df1b4206460b
parentd8f66248d6f25f7c935cc5307c43bf394db07272
perf session: Ditch register_perf_file_handler

Pass the event_ops to perf_session__process_events instead.

Also move the event_ops definition to session.h, starting to
move things around to their right place, trimming the many
unneeded headers we have.

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-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
13 files changed:
tools/perf/Makefile
tools/perf/builtin-annotate.c
tools/perf/builtin-buildid-list.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/data_map.h [deleted file]
tools/perf/util/header.c
tools/perf/util/session.c
tools/perf/util/session.h