Lines Matching refs:evsel
51 #include "util/evsel.h"
167 static bool cpus_map_matched(struct evsel *a, struct evsel *b)
189 struct evsel *evsel, *warned_leader = NULL;
191 evlist__for_each_entry(evlist, evsel) {
192 struct evsel *leader = evsel__leader(evsel);
195 if (leader == evsel)
197 if (cpus_map_matched(leader, evsel))
216 cpu_map__snprint(evsel->core.cpus, buf, sizeof(buf));
217 pr_warning(" %s: %s\n", evsel->name, buf);
220 evsel__remove_from_group(evsel, leader);
268 static int evsel__write_stat_event(struct evsel *counter, int cpu_map_idx, u32 thread,
278 static int read_single_counter(struct evsel *counter, int cpu_map_idx,
316 static int read_counter_cpu(struct evsel *counter, struct timespec *rs, int cpu_map_idx)
379 struct evsel *counter = evlist_cpu_itr.evsel;
397 struct evsel *counter;
423 struct evsel *counter;
471 struct evsel *evsel;
474 evlist__for_each_entry(evsel_list, evsel) {
475 if (!evsel__is_bpf(evsel))
478 err = bpf_counter__enable(evsel);
492 struct evsel *counter;
520 static bool evsel__should_store_id(struct evsel *counter)
633 static enum counter_recovery stat_handle_error(struct evsel *counter)
696 struct evsel *counter;
731 counter = evlist_cpu_itr.evsel;
787 counter = evlist_cpu_itr.evsel;
796 counter = evlist_cpu_itr.evsel;
2206 struct evsel *metric_evsel;
2508 struct evsel *counter;