Skip to contentSkip to conversation

perf symbols: Add missing linux/refcount.h to symbol.h

tip: perf/core tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Sep 2, 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:     c38fa94d188234f40fe3911b1a7650e056ef42ea
Gitweb:        https://git.kernel.org/tip/c38fa94d188234f40fe3911b1a7650e056ef42ea
Author:        Arnaldo Carvalho de Melo <[email protected]>
AuthorDate:    Fri, 30 Aug 2019 10:19:19 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Sat, 31 Aug 2019 22:19:28 -03:00

perf symbols: Add missing linux/refcount.h to symbol.h

We use refcount_t there, so we need that header or else it'll break when we remove dso.h, that is from where it is getting that definition now...

---
 tools/perf/util/symbol.h | 1 +
 1 file changed, 1 insertion(+)
tools/perf/util/symbol.h +1 -0
index bcc0d84..22660c7 100644
@@ -3,6 +3,7 @@
 #define __PERF_SYMBOL 1
 
 #include <linux/types.h>
+#include <linux/refcount.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <linux/list.h>