diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-16 22:05:48 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-16 23:06:45 +0200 |
commit | 8f28827a162fd1e8da4e96bed69b06d2606e8322 (patch) | |
tree | b57a24ca7819a1b347374aa62dd90444740811f8 /tools/perf/perf.h | |
parent | 0d3a5c885971de1e3124d85bfadf818abac9ba12 (diff) |
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>
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r-- | tools/perf/perf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index f5509213f030..e5148e2b6134 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -48,7 +48,6 @@ #include "../../include/linux/perf_counter.h" #include "util/types.h" -#include "util/debug.h" /* * prctl(PR_TASK_PERF_COUNTERS_DISABLE) will (cheaply) disable all |