perf stat: Add missing counts.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Aug 2019 17:02:05 +0000 (14:02 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2019 20:16:57 +0000 (17:16 -0300)
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>
tools/perf/util/stat-display.c
tools/perf/util/stat.c

index 3df0e39ccd522826e3b5feecc21a0edfdc57694d..605a1fdbda7a49902e0eec442b1bcba38ba7f0ba 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/time64.h>
 #include <math.h>
 #include "color.h"
+#include "counts.h"
 #include "evlist.h"
 #include "evsel.h"
 #include "stat.h"
index 2715112290cff582296a13c9cffafb5a087ee7c5..1e6a25abe00f70760b784b99de4eb216c652d479 100644 (file)
@@ -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"