perf timechart: Remove event types framework only user
authorJiri Olsa <jolsa@redhat.com>
Thu, 11 Jul 2013 15:28:30 +0000 (17:28 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 15 Jul 2013 19:14:47 +0000 (16:14 -0300)
commit5936678e7da5f8d2944a2ad45d66c88b4a7ccb67
treef4fb96dbe64589cb8b5d151c73ef1d5f3519d750
parentc85cffa5894fad8ad7c8051ccf7dd73a3a3f92b6
perf timechart: Remove event types framework only user

The only user of the event types data is 'perf timechart' command and
uses this info to identify proper tracepoints based on its name.

Switching this code to use tracepoint callbacks handlers same as another
commands like builtin-{kmem,lock,sched}.c using the
perf_session__set_tracepoints_handlers function.

This way we get rid of the only event types user and can remove them
completely in next patches.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Renninger <trenn@suse.de>
Link: http://lkml.kernel.org/r/1373556513-3000-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-timechart.c