[tip:,perf/core] perf scripting python: Add missing counts.h header
diff mbox series

Message ID 156656304951.32117.11655967798767148792.tip-bot2@tip-bot2
State Accepted
Commit 430482c2e34ea8c164240ce295b5f57f16ab5621
Headers show
  • [tip:,perf/core] perf scripting python: Add missing counts.h header
Related show

Commit Message

tip-bot2 for Alexey Dobriyan Aug. 23, 2019, 12:24 p.m. UTC
The following commit has been merged into the perf/core branch of tip:

Commit-ID:     430482c2e34ea8c164240ce295b5f57f16ab5621
Gitweb:        https://git.kernel.org/tip/430482c2e34ea8c164240ce295b5f57f16ab5621
Author:        Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate:    Wed, 21 Aug 2019 14:02:35 -03:00
Committer:     Arnaldo Carvalho de Melo <acme@redhat.com>
CommitterDate: Thu, 22 Aug 2019 17:16:57 -03:00

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>
 tools/perf/util/scripting-engines/trace-event-python.c | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c
index 32c17a7..51771fc 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"