diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-27 18:07:40 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-06 08:00:38 -0500 |
commit | e22c1c751140aeacc5bba9596d7d5a21c5acbd8c (patch) | |
tree | 38fa487dc2d1b23dda2d25528b54bd26f07bdf67 | |
parent | 9cd997f85e29c1c2b53e23fa98df7ec44c344d67 (diff) |
perf thread: Don't include symbol.h, symbol_conf.h is enough
Also add stdio.h to get the FILE definition.
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-8vx5396phynuxhdsxxfbdhsk@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/thread.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h index 856cf1a9040a..8276ffeec556 100644 --- a/tools/perf/util/thread.h +++ b/tools/perf/util/thread.h | |||
@@ -5,14 +5,17 @@ | |||
5 | #include <linux/refcount.h> | 5 | #include <linux/refcount.h> |
6 | #include <linux/rbtree.h> | 6 | #include <linux/rbtree.h> |
7 | #include <linux/list.h> | 7 | #include <linux/list.h> |
8 | #include <stdio.h> | ||
8 | #include <unistd.h> | 9 | #include <unistd.h> |
9 | #include <sys/types.h> | 10 | #include <sys/types.h> |
10 | #include "srccode.h" | 11 | #include "srccode.h" |
11 | #include "symbol.h" | 12 | #include "symbol_conf.h" |
12 | #include <strlist.h> | 13 | #include <strlist.h> |
13 | #include <intlist.h> | 14 | #include <intlist.h> |
14 | #include "rwsem.h" | 15 | #include "rwsem.h" |
15 | 16 | ||
17 | struct addr_location; | ||
18 | struct map; | ||
16 | struct namespaces_event; | 19 | struct namespaces_event; |
17 | struct thread_stack; | 20 | struct thread_stack; |
18 | struct unwind_libunwind_ops; | 21 | struct unwind_libunwind_ops; |