diff options
author | Arnaldo Carvalho de Melo | 2019-08-30 10:19:19 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2019-08-31 22:19:28 -0300 |
commit | c38fa94d188234f40fe3911b1a7650e056ef42ea (patch) | |
tree | a43244557d801a2610842f74b8d6b9e63f2fdbbd /tools/perf/util/symbol.h | |
parent | 9bea81b36a8d7d23c9bb7f4d63a9a842eec134a0 (diff) |
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/perf/util/symbol.h')
-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> |