Lines Matching refs:evsel
326 struct evsel *evsel;
347 evsel = evlist__event2evsel(session->evlist, event);
348 if (!evsel)
350 err = evsel__parse_sample(evsel, event, &sample);
900 struct evsel *evsel)
906 return evsel->core.attr.type == aux->pmu_type;
1628 struct evsel *evsel;
1634 evlist__for_each_entry(evlist, evsel) {
1635 if (evsel->core.attr.type == etm->pmu_type) {
1649 attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK;
1657 attr.exclude_user = evsel->core.attr.exclude_user;
1658 attr.exclude_kernel = evsel->core.attr.exclude_kernel;
1659 attr.exclude_hv = evsel->core.attr.exclude_hv;
1660 attr.exclude_host = evsel->core.attr.exclude_host;
1661 attr.exclude_guest = evsel->core.attr.exclude_guest;
1662 attr.sample_id_all = evsel->core.attr.sample_id_all;
1663 attr.read_format = evsel->core.attr.read_format;
1665 /* create new id val to be a fixed offset from evsel id */
1666 id = evsel->core.id[0] + 1000000000;
2860 struct evsel *evsel;
2870 * Find the cs_etm evsel and look at what its timestamp setting was
2872 evlist__for_each_entry(evlist, evsel)
2873 if (cs_etm__evsel_is_auxtrace(etm->session, evsel)) {
2875 !(evsel->core.attr.config & BIT(ETM_OPT_TS));
2879 pr_err("CS ETM: Couldn't find ETM evsel\n");
3074 struct evsel *evsel;
3092 evsel = evlist__event2evsel(session->evlist, event);
3093 if (!evsel)
3095 ret = evsel__parse_sample(evsel, event, &sample);