Lines Matching refs:evlist

51 struct evlist {  struct
67 void (*trace_event_sample_raw)(struct evlist *evlist, argument
88 struct evlist *evlist__new(void); argument
89 struct evlist *evlist__new_default(void);
90 struct evlist *evlist__new_dummy(void);
91 void evlist__init(struct evlist *evlist, struct perf_cpu_map *cpus,
93 void evlist__exit(struct evlist *evlist);
94 void evlist__delete(struct evlist *evlist);
96 void evlist__add(struct evlist *evlist, struct evsel *entry);
97 void evlist__remove(struct evlist *evlist, struct evsel *evsel);
99 int __evlist__add_default(struct evlist *evlist, bool precise);
101 static inline int evlist__add_default(struct evlist *evlist) in evlist__add_default() argument
103 return __evlist__add_default(evlist, true); in evlist__add_default()
106 int __evlist__add_default_attrs(struct evlist *evlist,
109 #define evlist__add_default_attrs(evlist, array) \ argument
110 __evlist__add_default_attrs(evlist, array, ARRAY_SIZE(array))
112 int arch_evlist__add_default_attrs(struct evlist *evlist);
114 int evlist__add_dummy(struct evlist *evlist);
116 int evlist__add_sb_event(struct evlist *evlist, struct perf_event_attr *attr,
118 void evlist__set_cb(struct evlist *evlist, evsel__sb_cb_t cb, void *data);
119 int evlist__start_sb_thread(struct evlist *evlist, struct target *target);
120 void evlist__stop_sb_thread(struct evlist *evlist);
122 int evlist__add_newtp(struct evlist *evlist, const char *sys, const char *name, void *handler);
124 int __evlist__set_tracepoints_handlers(struct evlist *evlist,
128 #define evlist__set_tracepoints_handlers(evlist, array) \ argument
129 __evlist__set_tracepoints_handlers(evlist, array, ARRAY_SIZE(array))
131 int evlist__set_tp_filter(struct evlist *evlist, const char *filter);
132 int evlist__set_tp_filter_pid(struct evlist *evlist, pid_t pid);
133 int evlist__set_tp_filter_pids(struct evlist *evlist, size_t npids, pid_t *pids);
135 int evlist__append_tp_filter(struct evlist *evlist, const char *filter);
137 int evlist__append_tp_filter_pid(struct evlist *evlist, pid_t pid);
138 int evlist__append_tp_filter_pids(struct evlist *evlist, size_t npids, pid_t *pids);
140 struct evsel *evlist__find_tracepoint_by_id(struct evlist *evlist, int id);
141 struct evsel *evlist__find_tracepoint_by_name(struct evlist *evlist, const char *name);
143 int evlist__add_pollfd(struct evlist *evlist, int fd);
144 int evlist__filter_pollfd(struct evlist *evlist, short revents_and_mask);
147 int evlist__add_wakeup_eventfd(struct evlist *evlist, int fd);
150 int evlist__poll(struct evlist *evlist, int timeout);
152 struct evsel *evlist__id2evsel(struct evlist *evlist, u64 id);
153 struct evsel *evlist__id2evsel_strict(struct evlist *evlist, u64 id);
155 struct perf_sample_id *evlist__id2sid(struct evlist *evlist, u64 id);
157 void evlist__toggle_bkw_mmap(struct evlist *evlist, enum bkw_mmap_state state);
159 void evlist__mmap_consume(struct evlist *evlist, int idx);
161 int evlist__open(struct evlist *evlist);
162 void evlist__close(struct evlist *evlist);
166 void evlist__set_id_pos(struct evlist *evlist);
167 void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callch…
170 int evlist__prepare_workload(struct evlist *evlist, struct target *target,
173 int evlist__start_workload(struct evlist *evlist);
182 int evlist__mmap_ex(struct evlist *evlist, unsigned int pages,
186 int evlist__mmap(struct evlist *evlist, unsigned int pages);
187 void evlist__munmap(struct evlist *evlist);
191 void evlist__disable(struct evlist *evlist);
192 void evlist__enable(struct evlist *evlist);
193 void evlist__toggle_enable(struct evlist *evlist);
194 void evlist__disable_evsel(struct evlist *evlist, char *evsel_name);
195 void evlist__enable_evsel(struct evlist *evlist, char *evsel_name);
197 int evlist__enable_event_idx(struct evlist *evlist, struct evsel *evsel, int idx);
199 void evlist__set_selected(struct evlist *evlist, struct evsel *evsel);
201 int evlist__create_maps(struct evlist *evlist, struct target *target);
202 int evlist__apply_filters(struct evlist *evlist, struct evsel **err_evsel);
204 void evlist__set_leader(struct evlist *evlist);
206 u64 __evlist__combined_sample_type(struct evlist *evlist);
207 u64 evlist__combined_sample_type(struct evlist *evlist);
208 u64 evlist__combined_branch_type(struct evlist *evlist);
209 bool evlist__sample_id_all(struct evlist *evlist);
210 u16 evlist__id_hdr_size(struct evlist *evlist);
212 int evlist__parse_sample(struct evlist *evlist, union perf_event *event, struct perf_sample *sample…
213 int evlist__parse_sample_timestamp(struct evlist *evlist, union perf_event *event, u64 *timestamp);
215 bool evlist__valid_sample_type(struct evlist *evlist);
216 bool evlist__valid_sample_id_all(struct evlist *evlist);
217 bool evlist__valid_read_format(struct evlist *evlist);
219 void evlist__splice_list_tail(struct evlist *evlist, struct list_head *list);
221 static inline bool evlist__empty(struct evlist *evlist) in evlist__empty() argument
223 return list_empty(&evlist->core.entries); in evlist__empty()
226 static inline struct evsel *evlist__first(struct evlist *evlist) in evlist__first() argument
228 struct perf_evsel *evsel = perf_evlist__first(&evlist->core); in evlist__first()
233 static inline struct evsel *evlist__last(struct evlist *evlist) in evlist__last() argument
235 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); in evlist__last()
240 int evlist__strerror_open(struct evlist *evlist, int err, char *buf, size_t size);
241 int evlist__strerror_mmap(struct evlist *evlist, int err, char *buf, size_t size);
243 bool evlist__can_select_event(struct evlist *evlist, const char *str);
244 void evlist__to_front(struct evlist *evlist, struct evsel *move_evsel);
259 #define evlist__for_each_entry(evlist, evsel) \ argument
260 __evlist__for_each_entry(&(evlist)->core.entries, evsel)
275 #define evlist__for_each_entry_continue(evlist, evsel) \ argument
276 __evlist__for_each_entry_continue(&(evlist)->core.entries, evsel)
291 #define evlist__for_each_entry_from(evlist, evsel) \ argument
292 __evlist__for_each_entry_from(&(evlist)->core.entries, evsel)
307 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument
308 __evlist__for_each_entry_reverse(&(evlist)->core.entries, evsel)
325 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
326 __evlist__for_each_entry_safe(&(evlist)->core.entries, tmp, evsel)
328 #define evlist__for_each_cpu(evlist, index, cpu) \ argument
329 evlist__cpu_iter_start(evlist); \
330 perf_cpu_map__for_each_cpu (cpu, index, (evlist)->core.all_cpus)
332 struct evsel *evlist__get_tracking_event(struct evlist *evlist);
333 void evlist__set_tracking_event(struct evlist *evlist, struct evsel *tracking_evsel);
335 void evlist__cpu_iter_start(struct evlist *evlist);
339 struct evsel *evlist__find_evsel_by_str(struct evlist *evlist, const char *str);
341 struct evsel *evlist__event2evsel(struct evlist *evlist, union perf_event *event);
343 bool evlist__exclude_kernel(struct evlist *evlist);
345 void evlist__force_leader(struct evlist *evlist);
347 struct evsel *evlist__reset_weak_group(struct evlist *evlist, struct evsel *evsel, bool close);
372 int evlist__initialize_ctlfd(struct evlist *evlist, int ctl_fd, int ctl_fd_ack);
373 int evlist__finalize_ctlfd(struct evlist *evlist);
374 bool evlist__ctlfd_initialized(struct evlist *evlist);
375 int evlist__ctlfd_process(struct evlist *evlist, enum evlist_ctl_cmd *cmd);
376 int evlist__ctlfd_ack(struct evlist *evlist);
381 struct evsel *evlist__find_evsel(struct evlist *evlist, int idx);
383 int evlist__scnprintf_evsels(struct evlist *evlist, size_t size, char *bf);
384 void evlist__check_mem_load_aux(struct evlist *evlist);