summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/auxtrace.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-29 20:56:40 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-29 22:38:32 +0200
commitb42090256fba05dce1a0482a4ccd9bb6464cc499 (patch)
treea0831ca04882a8b63a1605175b5347a6d601be11 /tools/perf/util/auxtrace.h
parentperf tools: Remove perf.h from source files not needing it (diff)
downloadlinux-b42090256fba05dce1a0482a4ccd9bb6464cc499.tar.xz
linux-b42090256fba05dce1a0482a4ccd9bb6464cc499.zip
perf tools: Remove debug.h from header files not needing it
And fix the fallout, adding it to places that must have it since they use its definitions. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-1s3jel4i26chq2g0lydoz7i3@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/auxtrace.h')
-rw-r--r--tools/perf/util/auxtrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h
index bc39cc5610a8..b5ac24c770d4 100644
--- a/tools/perf/util/auxtrace.h
+++ b/tools/perf/util/auxtrace.h
@@ -19,7 +19,6 @@
#include "event.h"
#include "session.h"
-#include "debug.h"
union perf_event;
struct perf_session;
@@ -614,6 +613,7 @@ void itrace_synth_opts__clear_time_range(struct itrace_synth_opts *opts)
}
#else
+#include "debug.h"
static inline struct auxtrace_record *
auxtrace_record__init(struct evlist *evlist __maybe_unused,