summaryrefslogtreecommitdiff
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-29 15:56:40 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-29 17:38:32 -0300
commitb42090256fba05dce1a0482a4ccd9bb6464cc499 (patch)
treea0831ca04882a8b63a1605175b5347a6d601be11 /tools/perf/util/python.c
parent0ac25fd0a04d8bd52ceac2476e71a4e497489987 (diff)
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/python.c')
-rw-r--r--tools/perf/util/python.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c
index 9dd83871aafe..9b350482c403 100644
--- a/tools/perf/util/python.c
+++ b/tools/perf/util/python.c
@@ -5,6 +5,7 @@
#include <poll.h>
#include <linux/err.h>
#include <perf/cpumap.h>
+#include "debug.h"
#include "evlist.h"
#include "callchain.h"
#include "evsel.h"