summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-21 20:00:17 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 23:16:56 +0300
commit0f31c0195c14cc37b2f2a08e3f4219d69faa1b34 (patch)
tree4246c5a0c4566581da7ca09382cae6d401b373f3 /tools/perf
parente14e5497d5253712e1545f79ad93309499ffb544 (diff)
downloadlinux-0f31c0195c14cc37b2f2a08e3f4219d69faa1b34.tar.xz
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>
Diffstat (limited to 'tools/perf')
-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"