diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-21 19:02:05 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-22 22:16:57 +0200 |
commit | bfc49182c64e9dbdea494a577894194701b61e72 (patch) | |
tree | d9b4db9ccc1de5bc182f1844e354ec142802e890 /tools/perf/util/stat.c | |
parent | perf tests: Add missing counts.h (diff) | |
download | linux-bfc49182c64e9dbdea494a577894194701b61e72.tar.xz linux-bfc49182c64e9dbdea494a577894194701b61e72.zip |
perf stat: 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-jwcbm9gv9llloe3he5qkdefs@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/stat.c')
-rw-r--r-- | tools/perf/util/stat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/stat.c b/tools/perf/util/stat.c index 2715112290cf..1e6a25abe00f 100644 --- a/tools/perf/util/stat.c +++ b/tools/perf/util/stat.c @@ -2,6 +2,7 @@ #include <errno.h> #include <inttypes.h> #include <math.h> +#include "counts.h" #include "stat.h" #include "evlist.h" #include "evsel.h" |