Lines Matching defs:evsel
25 #include "../../../util/evsel.h"
73 struct evsel *evsel, int cpu)
81 u64 contextid = evsel->core.attr.config &
144 struct evsel *evsel, int cpu)
153 if (!(evsel->core.attr.config &
198 struct evsel *evsel)
201 struct perf_cpu_map *event_cpus = evsel->evlist->core.user_requested_cpus;
212 err = cs_etm_validate_context_id(itr, evsel, i);
215 err = cs_etm_validate_timestamp(itr, evsel, i);
249 struct evsel *evsel)
256 if (evsel->core.attr.config2 & GENMASK(31, 0))
259 list_for_each_entry(term, &evsel->config_terms, list) {
272 sink, evsel__name(evsel));
275 sink, evsel__name(evsel), errno,
280 evsel->core.attr.config2 |= hash;
299 struct evsel *evsel, *cs_etm_evsel = NULL;
304 evlist__for_each_entry(evlist, evsel) {
305 if (evsel->core.attr.type == cs_etm_pmu->type) {
311 cs_etm_evsel = evsel;
440 evsel = evlist__last(evlist);
441 evlist__set_tracking_event(evlist, evsel);
442 evsel->core.attr.freq = 0;
443 evsel->core.attr.sample_period = 1;
447 evsel__set_sample_bit(evsel, TIME);
461 struct evsel *evsel;
463 evlist__for_each_entry(evlist, evsel) {
464 if (evsel->core.attr.type == cs_etm_pmu->type) {
473 config = evsel->core.attr.config;
843 struct evsel *evsel;
845 evlist__for_each_entry(ptr->evlist, evsel) {
846 if (evsel->core.attr.type == ptr->cs_etm_pmu->type)
847 return evsel__disable(evsel);
856 struct evsel *evsel;
858 evlist__for_each_entry(ptr->evlist, evsel) {
859 if (evsel->core.attr.type == ptr->cs_etm_pmu->type)
860 return evsel__enable(evsel);