diff options
-rw-r--r-- | tools/perf/builtin-record.c | 1 | ||||
-rw-r--r-- | tools/perf/util/callchain.h | 2 | ||||
-rw-r--r-- | tools/perf/util/evsel.c | 1 | ||||
-rw-r--r-- | tools/perf/util/hist.h | 2 | ||||
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 1 |
5 files changed, 5 insertions, 2 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 44c6f3d55ce7..a6b2132c666f 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include "util/parse-options.h" | 14 | #include "util/parse-options.h" |
15 | #include "util/parse-events.h" | 15 | #include "util/parse-events.h" |
16 | 16 | ||
17 | #include "util/callchain.h" | ||
17 | #include "util/header.h" | 18 | #include "util/header.h" |
18 | #include "util/event.h" | 19 | #include "util/event.h" |
19 | #include "util/evlist.h" | 20 | #include "util/evlist.h" |
diff --git a/tools/perf/util/callchain.h b/tools/perf/util/callchain.h index 2a1f5a46543a..94cfefddf4db 100644 --- a/tools/perf/util/callchain.h +++ b/tools/perf/util/callchain.h | |||
@@ -65,6 +65,8 @@ struct callchain_param { | |||
65 | enum chain_key key; | 65 | enum chain_key key; |
66 | }; | 66 | }; |
67 | 67 | ||
68 | extern struct callchain_param callchain_param; | ||
69 | |||
68 | struct callchain_list { | 70 | struct callchain_list { |
69 | u64 ip; | 71 | u64 ip; |
70 | struct map_symbol ms; | 72 | struct map_symbol ms; |
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 0580b13df2e6..a08376427448 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/perf_event.h> | 15 | #include <linux/perf_event.h> |
16 | #include <sys/resource.h> | 16 | #include <sys/resource.h> |
17 | #include "asm/bug.h" | 17 | #include "asm/bug.h" |
18 | #include "callchain.h" | ||
18 | #include "evsel.h" | 19 | #include "evsel.h" |
19 | #include "evlist.h" | 20 | #include "evlist.h" |
20 | #include "util.h" | 21 | #include "util.h" |
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index a039cd22b23c..ebfc25886cac 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -8,8 +8,6 @@ | |||
8 | #include "color.h" | 8 | #include "color.h" |
9 | #include "ui/progress.h" | 9 | #include "ui/progress.h" |
10 | 10 | ||
11 | extern struct callchain_param callchain_param; | ||
12 | |||
13 | struct hist_entry; | 11 | struct hist_entry; |
14 | struct addr_location; | 12 | struct addr_location; |
15 | struct symbol; | 13 | struct symbol; |
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 56ba07cce549..496f21cadd97 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include "../../perf.h" | 29 | #include "../../perf.h" |
30 | #include "../debug.h" | 30 | #include "../debug.h" |
31 | #include "../callchain.h" | ||
31 | #include "../evsel.h" | 32 | #include "../evsel.h" |
32 | #include "../util.h" | 33 | #include "../util.h" |
33 | #include "../event.h" | 34 | #include "../event.h" |