diff options
Diffstat (limited to 'tools/perf/util/evsel.h')
-rw-r--r-- | tools/perf/util/evsel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index b1d15e6f7ae3..6421c07f5015 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h | |||
@@ -67,6 +67,7 @@ struct perf_evsel { | |||
67 | struct cpu_map; | 67 | struct cpu_map; |
68 | struct thread_map; | 68 | struct thread_map; |
69 | struct perf_evlist; | 69 | struct perf_evlist; |
70 | struct perf_record_opts; | ||
70 | 71 | ||
71 | struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr, int idx); | 72 | struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr, int idx); |
72 | void perf_evsel__init(struct perf_evsel *evsel, | 73 | void perf_evsel__init(struct perf_evsel *evsel, |
@@ -74,6 +75,9 @@ void perf_evsel__init(struct perf_evsel *evsel, | |||
74 | void perf_evsel__exit(struct perf_evsel *evsel); | 75 | void perf_evsel__exit(struct perf_evsel *evsel); |
75 | void perf_evsel__delete(struct perf_evsel *evsel); | 76 | void perf_evsel__delete(struct perf_evsel *evsel); |
76 | 77 | ||
78 | void perf_evsel__config(struct perf_evsel *evsel, | ||
79 | struct perf_record_opts *opts); | ||
80 | |||
77 | int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads); | 81 | int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads); |
78 | int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads); | 82 | int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads); |
79 | int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus); | 83 | int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus); |