summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-30 10:19:19 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-31 22:19:28 -0300
commitc38fa94d188234f40fe3911b1a7650e056ef42ea (patch)
treea43244557d801a2610842f74b8d6b9e63f2fdbbd /tools
parent9bea81b36a8d7d23c9bb7f4d63a9a842eec134a0 (diff)
downloadblackbird-op-linux-c38fa94d188234f40fe3911b1a7650e056ef42ea.tar.gz
blackbird-op-linux-c38fa94d188234f40fe3911b1a7650e056ef42ea.zip
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 <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-5albrk0uve6x9cf6x3ebwpae@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/symbol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index bcc0d84a42b8..22660c7614a5 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -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>
OpenPOWER on IntegriCloud