Skip to contentSkip to conversation

perf stat: Add missing counts.h

tip: perf/core tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Aug 23, 2019 1 message not in the archive perf events

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw

The following commit has been merged into the perf/core branch of tip:

Commit-ID:     bfc49182c64e9dbdea494a577894194701b61e72
Gitweb:        https://git.kernel.org/tip/bfc49182c64e9dbdea494a577894194701b61e72
Author:        Arnaldo Carvalho de Melo <[email protected]>
AuthorDate:    Wed, 21 Aug 2019 14:02:05 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Thu, 22 Aug 2019 17:16:57 -03:00

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.

---
 tools/perf/util/stat-display.c | 1 +
 tools/perf/util/stat.c         | 1 +
 2 files changed, 2 insertions(+)
tools/perf/util/stat-display.c +1 -0
index 3df0e39..605a1fd 100644
@@ -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"
tools/perf/util/stat.c +1 -0
index 2715112..1e6a25a 100644
@@ -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"