summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-21 19:00:17 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 22:16:56 +0200
commit0f31c0195c14cc37b2f2a08e3f4219d69faa1b34 (patch)
tree4246c5a0c4566581da7ca09382cae6d401b373f3
parentperf evlist: Add missing xyarray.h header (diff)
downloadlinux-0f31c0195c14cc37b2f2a08e3f4219d69faa1b34.tar.xz
linux-0f31c0195c14cc37b2f2a08e3f4219d69faa1b34.zip
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>
-rw-r--r--tools/perf/builtin-script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index 1764efd16cd4..e957b870869b 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"