diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-record.c | 1 | ||||
-rw-r--r-- | tools/perf/builtin-stat.c | 1 | ||||
-rw-r--r-- | tools/perf/util/evsel.c | 1 | ||||
-rw-r--r-- | tools/perf/util/evsel.h | 3 |
4 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index a6b2132c666f..2583a9b04317 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include "util/parse-events.h" | 15 | #include "util/parse-events.h" |
16 | 16 | ||
17 | #include "util/callchain.h" | 17 | #include "util/callchain.h" |
18 | #include "util/cgroup.h" | ||
18 | #include "util/header.h" | 19 | #include "util/header.h" |
19 | #include "util/event.h" | 20 | #include "util/event.h" |
20 | #include "util/evlist.h" | 21 | #include "util/evlist.h" |
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index b22c62f80078..055ce9232c9e 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c | |||
@@ -43,6 +43,7 @@ | |||
43 | 43 | ||
44 | #include "perf.h" | 44 | #include "perf.h" |
45 | #include "builtin.h" | 45 | #include "builtin.h" |
46 | #include "util/cgroup.h" | ||
46 | #include "util/util.h" | 47 | #include "util/util.h" |
47 | #include "util/parse-options.h" | 48 | #include "util/parse-options.h" |
48 | #include "util/parse-events.h" | 49 | #include "util/parse-events.h" |
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 786ea557af26..2f9e68025ede 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c | |||
@@ -16,6 +16,7 @@ | |||
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 "callchain.h" |
19 | #include "cgroup.h" | ||
19 | #include "evsel.h" | 20 | #include "evsel.h" |
20 | #include "evlist.h" | 21 | #include "evlist.h" |
21 | #include "util.h" | 22 | #include "util.h" |
diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index 1d5c754aebc4..163c5604e5d1 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h | |||
@@ -7,7 +7,6 @@ | |||
7 | #include <linux/perf_event.h> | 7 | #include <linux/perf_event.h> |
8 | #include <linux/types.h> | 8 | #include <linux/types.h> |
9 | #include "xyarray.h" | 9 | #include "xyarray.h" |
10 | #include "cgroup.h" | ||
11 | #include "symbol.h" | 10 | #include "symbol.h" |
12 | 11 | ||
13 | struct perf_counts_values { | 12 | struct perf_counts_values { |
@@ -42,6 +41,8 @@ struct perf_sample_id { | |||
42 | u64 period; | 41 | u64 period; |
43 | }; | 42 | }; |
44 | 43 | ||
44 | struct cgroup_sel; | ||
45 | |||
45 | /** struct perf_evsel - event selector | 46 | /** struct perf_evsel - event selector |
46 | * | 47 | * |
47 | * @name - Can be set to retain the original event name passed by the user, | 48 | * @name - Can be set to retain the original event name passed by the user, |