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

Message ID 156656304788.32107.3827521293276224992.tip-bot2@tip-bot2
State Accepted
Commit 0f31c0195c14cc37b2f2a08e3f4219d69faa1b34
Headers show
Series
  • [tip:,perf/core] perf script: Add missing counts.h
Related show

Commit Message

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

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

perf script: Add missing counts.h

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-q4shpvlxyjqz7val1hyrdak9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/builtin-script.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index 1764efd..e957b87 100644
--- a/tools/perf/builtin-script.c
+++ b/tools/perf/builtin-script.c
@@ -3,6 +3,7 @@ 
 
 #include "perf.h"
 #include "util/cache.h"
+#include "util/counts.h"
 #include "util/debug.h"
 #include <subcmd/exec-cmd.h>
 #include "util/header.h"