diff options
Diffstat (limited to 'tools/perf/lib')
-rw-r--r-- | tools/perf/lib/include/internal/evsel.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/perf/lib/include/internal/evsel.h b/tools/perf/lib/include/internal/evsel.h index c2e0bd104c94..b2c76e1a6244 100644 --- a/tools/perf/lib/include/internal/evsel.h +++ b/tools/perf/lib/include/internal/evsel.h | |||
@@ -5,9 +5,12 @@ | |||
5 | #include <linux/types.h> | 5 | #include <linux/types.h> |
6 | #include <linux/perf_event.h> | 6 | #include <linux/perf_event.h> |
7 | 7 | ||
8 | struct perf_cpu_map; | ||
9 | |||
8 | struct perf_evsel { | 10 | struct perf_evsel { |
9 | struct list_head node; | 11 | struct list_head node; |
10 | struct perf_event_attr attr; | 12 | struct perf_event_attr attr; |
13 | struct perf_cpu_map *cpus; | ||
11 | }; | 14 | }; |
12 | 15 | ||
13 | #endif /* __LIBPERF_INTERNAL_EVSEL_H */ | 16 | #endif /* __LIBPERF_INTERNAL_EVSEL_H */ |