Lines Matching defs:evsel
317 struct evsel *evsel;
338 evsel = evlist__event2evsel(session->evlist, event);
339 if (!evsel)
341 err = evsel__parse_sample(evsel, event, &sample);
877 struct evsel *evsel)
883 return evsel->core.attr.type == aux->pmu_type;
1604 struct evsel *evsel;
1610 evlist__for_each_entry(evlist, evsel) {
1611 if (evsel->core.attr.type == etm->pmu_type) {
1625 attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK;
1633 attr.exclude_user = evsel->core.attr.exclude_user;
1634 attr.exclude_kernel = evsel->core.attr.exclude_kernel;
1635 attr.exclude_hv = evsel->core.attr.exclude_hv;
1636 attr.exclude_host = evsel->core.attr.exclude_host;
1637 attr.exclude_guest = evsel->core.attr.exclude_guest;
1638 attr.sample_id_all = evsel->core.attr.sample_id_all;
1639 attr.read_format = evsel->core.attr.read_format;
1641 /* create new id val to be a fixed offset from evsel id */
1642 id = evsel->core.id[0] + 1000000000;
2836 struct evsel *evsel;
2846 * Find the cs_etm evsel and look at what its timestamp setting was
2848 evlist__for_each_entry(evlist, evsel)
2849 if (cs_etm__evsel_is_auxtrace(etm->session, evsel)) {
2851 !(evsel->core.attr.config & BIT(ETM_OPT_TS));
2855 pr_err("CS ETM: Couldn't find ETM evsel\n");
3050 struct evsel *evsel;
3068 evsel = evlist__event2evsel(session->evlist, event);
3069 if (!evsel)
3071 ret = evsel__parse_sample(evsel, event, &sample);