perf tools: Librarize trace_event() helper
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 16 Aug 2009 20:05:48 +0000 (22:05 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 16 Aug 2009 21:06:45 +0000 (23:06 +0200)
commit8f28827a162fd1e8da4e96bed69b06d2606e8322
treeb57a24ca7819a1b347374aa62dd90444740811f8
parent0d3a5c885971de1e3124d85bfadf818abac9ba12
perf tools: Librarize trace_event() helper

Librarize trace_event() helper so that perf trace can use it
too. Also clean up the debug.h includes a bit.

It's not good to have it included in perf.h because it doesn't
make it flexible against other headers it may need (headers
that can also depend on perf.h and then create a recursive
header dependency).

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1250453149-664-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-annotate.c
tools/perf/builtin-record.c
tools/perf/builtin-report.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/perf.h
tools/perf/util/color.c
tools/perf/util/color.h
tools/perf/util/debug.c
tools/perf/util/debug.h
tools/perf/util/symbol.c