diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-30 15:19:19 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-01 03:19:28 +0200 |
commit | c38fa94d188234f40fe3911b1a7650e056ef42ea (patch) | |
tree | a43244557d801a2610842f74b8d6b9e63f2fdbbd /tools/perf/util/symbol.h | |
parent | perf symbol: Move C++ demangle defines to the only file using it (diff) | |
download | linux-c38fa94d188234f40fe3911b1a7650e056ef42ea.tar.xz 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 '')
-rw-r--r-- | tools/perf/util/symbol.h | 1 |
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> |