Lines Matching defs:evsel
25 #include "../../util/evsel.h"
63 struct evsel *evsel, int cpu)
103 evsel->core.attr.config |= (1 << ETM_OPT_CTXTID);
112 struct evsel *evsel, int cpu)
152 evsel->core.attr.config |= (1 << ETM_OPT_TS);
160 struct evsel *evsel, u32 option)
163 struct perf_cpu_map *event_cpus = evsel->evlist->core.cpus;
173 err = cs_etm_set_context_id(itr, evsel, i);
178 err = cs_etm_set_timestamp(itr, evsel, i);
216 struct evsel *evsel)
223 if (evsel->core.attr.config2 & GENMASK(31, 0))
226 list_for_each_entry(term, &evsel->config_terms, list) {
236 sink, evsel__name(evsel), errno,
241 evsel->core.attr.config2 |= hash;
260 struct evsel *evsel, *cs_etm_evsel = NULL;
272 evlist__for_each_entry(evlist, evsel) {
273 if (evsel->core.attr.type == cs_etm_pmu->type) {
279 evsel->core.attr.freq = 0;
280 evsel->core.attr.sample_period = 1;
281 cs_etm_evsel = evsel;
416 struct evsel *tracking_evsel;
444 struct evsel *evsel;
446 evlist__for_each_entry(evlist, evsel) {
447 if (evsel->core.attr.type == cs_etm_pmu->type) {
456 config = evsel->core.attr.config;
826 struct evsel *evsel;
828 evlist__for_each_entry(ptr->evlist, evsel) {
829 if (evsel->core.attr.type == ptr->cs_etm_pmu->type)
830 return evsel__disable(evsel);
839 struct evsel *evsel;
841 evlist__for_each_entry(ptr->evlist, evsel) {
842 if (evsel->core.attr.type == ptr->cs_etm_pmu->type)
843 return evsel__enable(evsel);