aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/lib/include/internal/evsel.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/lib/include/internal/evsel.h')
-rw-r--r--tools/perf/lib/include/internal/evsel.h7
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 @@
#include <linux/types.h>
#include <linux/perf_event.h>
+struct perf_cpu_map;
+
struct perf_evsel {
- struct list_head node;
- struct perf_event_attr attr;
+ struct list_head node;
+ struct perf_event_attr attr;
+ struct perf_cpu_map *cpus;
};
#endif /* __LIBPERF_INTERNAL_EVSEL_H */