perf symbols: Add missing linux/refcount.h to symbol.h
A message that is not in the archive (sent off-list or not yet received): [email protected]
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...
Cc Adrian Hunter <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/symbol.h | 1 + 1 file changed, 1 insertion(+)
tools/perf/util/symbol.h +1 -0
@@ -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>