Lines Matching refs:evsel

72 	struct evsel *selected;
110 void evlist__add(struct evlist *evlist, struct evsel *entry);
111 void evlist__remove(struct evlist *evlist, struct evsel *evsel);
113 int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs);
117 struct evsel *evlist__add_aux_dummy(struct evlist *evlist, bool system_wide);
118 static inline struct evsel *evlist__add_dummy_on_all_cpus(struct evlist *evlist) in evlist__add_dummy_on_all_cpus()
123 struct evsel *evlist__add_sched_switch(struct evlist *evlist, bool system_wide);
151 struct evsel *evlist__find_tracepoint_by_name(struct evlist *evlist, const char *name);
162 struct evsel *evlist__id2evsel(struct evlist *evlist, u64 id);
163 struct evsel *evlist__id2evsel_strict(struct evlist *evlist, u64 id);
210 void evlist__set_selected(struct evlist *evlist, struct evsel *evsel);
213 int evlist__apply_filters(struct evlist *evlist, struct evsel **err_evsel,
237 static inline struct evsel *evlist__first(struct evlist *evlist) in evlist__first()
239 struct perf_evsel *evsel = perf_evlist__first(&evlist->core); in evlist__first() local
241 return container_of(evsel, struct evsel, core); in evlist__first()
244 static inline struct evsel *evlist__last(struct evlist *evlist) in evlist__last()
246 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); in evlist__last() local
248 return container_of(evsel, struct evsel, core); in evlist__last()
260 void evlist__to_front(struct evlist *evlist, struct evsel *move_evsel);
267 #define __evlist__for_each_entry(list, evsel) \ argument
268 list_for_each_entry(evsel, list, core.node)
275 #define evlist__for_each_entry(evlist, evsel) \ argument
276 __evlist__for_each_entry(&(evlist)->core.entries, evsel)
283 #define __evlist__for_each_entry_continue(list, evsel) \ argument
284 list_for_each_entry_continue(evsel, list, core.node)
291 #define evlist__for_each_entry_continue(evlist, evsel) \ argument
292 __evlist__for_each_entry_continue(&(evlist)->core.entries, evsel)
299 #define __evlist__for_each_entry_from(list, evsel) \ argument
300 list_for_each_entry_from(evsel, list, core.node)
307 #define evlist__for_each_entry_from(evlist, evsel) \ argument
308 __evlist__for_each_entry_from(&(evlist)->core.entries, evsel)
315 #define __evlist__for_each_entry_reverse(list, evsel) \ argument
316 list_for_each_entry_reverse(evsel, list, core.node)
323 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument
324 __evlist__for_each_entry_reverse(&(evlist)->core.entries, evsel)
332 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument
333 list_for_each_entry_safe(evsel, tmp, list, core.node)
341 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
342 __evlist__for_each_entry_safe(&(evlist)->core.entries, tmp, evsel)
349 struct evsel *evsel; member
388 struct evsel *evlist__get_tracking_event(struct evlist *evlist);
389 void evlist__set_tracking_event(struct evlist *evlist, struct evsel *tracking_evsel);
390 struct evsel *evlist__findnew_tracking_event(struct evlist *evlist, bool system_wide);
392 struct evsel *evlist__find_evsel_by_str(struct evlist *evlist, const char *str);
394 struct evsel *evlist__event2evsel(struct evlist *evlist, union perf_event *event);
400 struct evsel *evlist__reset_weak_group(struct evlist *evlist, struct evsel *evsel, bool close);
440 struct evsel *evlist__find_evsel(struct evlist *evlist, int idx);