diff options
| author | Frederic Weisbecker <[email protected]> | 2009-08-16 20:05:48 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-08-16 21:06:45 +0000 |
| commit | 8f28827a162fd1e8da4e96bed69b06d2606e8322 (patch) | |
| tree | b57a24ca7819a1b347374aa62dd90444740811f8 /tools/perf/builtin-annotate.c | |
| parent | perf tools: Librarize sample type and attr finding from headers (diff) | |
| download | kernel-8f28827a162fd1e8da4e96bed69b06d2606e8322.tar.gz kernel-8f28827a162fd1e8da4e96bed69b06d2606e8322.zip | |
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Mike Galbraith <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
| -rw-r--r-- | tools/perf/builtin-annotate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 6d751516616d..96d421f7161d 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -17,6 +17,7 @@ #include "util/string.h" #include "perf.h" +#include "util/debug.h" #include "util/parse-options.h" #include "util/parse-events.h" |
