Lines Matching refs:evsel

20 #include "../../../util/evsel.h"
115 struct evsel *evsel;
124 evlist__for_each_entry(evlist, evsel) {
125 if (evsel->core.attr.type == intel_pt_pmu->type) {
126 *res = intel_pt_masked_bits(mask, evsel->core.attr.config);
275 struct evsel *evsel;
277 evlist__for_each_entry(evlist, evsel) {
278 if (evsel->core.attr.type == intel_pt_pmu->type)
279 return evsel->filter;
411 struct evsel *evsel;
417 evsel = evlist__add_sched_switch(evlist, true);
418 if (IS_ERR(evsel)) {
419 err = PTR_ERR(evsel);
425 evsel->immediate = true;
518 struct evsel *evsel)
523 if (!evsel)
535 !(evsel->core.attr.config & 1)) {
537 evsel->core.attr.config |= 1;
542 evsel->core.attr.config);
548 evsel->core.attr.config);
554 evsel->core.attr.config);
564 struct evsel *evsel;
566 evlist__for_each_entry(evlist, evsel) {
567 size_t sz = evsel->core.attr.aux_sample_size;
584 struct evsel *evsel;
587 evlist__for_each_entry(evlist, evsel)
588 aux_output_cnt += !!evsel->core.attr.aux_output;
606 struct evsel *evsel, *intel_pt_evsel = NULL;
615 evlist__for_each_entry(evlist, evsel) {
616 if (evsel->core.attr.type == intel_pt_pmu->type) {
621 evsel->core.attr.freq = 0;
622 evsel->core.attr.sample_period = 1;
623 evsel->no_aux_samples = true;
624 evsel->needs_auxtrace_mmap = true;
625 intel_pt_evsel = evsel;
784 struct evsel *switch_evsel;
842 struct evsel *tracking_evsel;
885 struct evsel *evsel;
887 evlist__for_each_entry(ptr->evlist, evsel) {
888 if (evsel->core.attr.type == ptr->intel_pt_pmu->type)
889 return evsel__disable(evsel);
898 struct evsel *evsel;
900 evlist__for_each_entry(ptr->evlist, evsel) {
901 if (evsel->core.attr.type == ptr->intel_pt_pmu->type)
902 return evsel__enable(evsel);