aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-21 14:02:35 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 17:16:57 -0300
commit430482c2e34ea8c164240ce295b5f57f16ab5621 (patch)
treea8d16d1546058f6637bdefcd193cae7be928c6f5 /tools/perf/util/scripting-engines/trace-event-python.c
parentperf stat: Add missing counts.h (diff)
downloadlinux-dev-430482c2e34ea8c164240ce295b5f57f16ab5621.tar.xz
linux-dev-430482c2e34ea8c164240ce295b5f57f16ab5621.zip
perf scripting python: Add missing counts.h header
It is getting this via evsel.h, that don't strictly need counts.h, just forward declarations for some structs, so add it here before we remove it from there. 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-6bxk3ltwkw91qcld2ot86bgg@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r--tools/perf/util/scripting-engines/trace-event-python.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c
index 32c17a727450..51771fc0d0df 100644
--- a/tools/perf/util/scripting-engines/trace-event-python.c
+++ b/tools/perf/util/scripting-engines/trace-event-python.c
@@ -32,6 +32,7 @@
#include <linux/time64.h>
#include "../../perf.h"
+#include "../counts.h"
#include "../debug.h"
#include "../callchain.h"
#include "../evsel.h"