Lines Matching refs:evsel
23 #include "evsel.h"
789 struct evsel *evsel;
797 evlist__for_each_entry(evlist, evsel) {
798 if ((evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
1057 struct evsel *evsel)
1061 return evsel->core.attr.type == spe->pmu_type;
1108 struct evsel *evsel;
1110 evlist__for_each_entry(evlist, evsel) {
1111 if (evsel->core.id && evsel->core.id[0] == id) {
1112 if (evsel->name)
1113 zfree(&evsel->name);
1114 evsel->name = strdup(name);
1124 struct evsel *evsel;
1130 evlist__for_each_entry(evlist, evsel) {
1131 if (evsel->core.attr.type == spe->pmu_type) {
1145 attr.sample_type = evsel->core.attr.sample_type &
1157 attr.exclude_user = evsel->core.attr.exclude_user;
1158 attr.exclude_kernel = evsel->core.attr.exclude_kernel;
1159 attr.exclude_hv = evsel->core.attr.exclude_hv;
1160 attr.exclude_host = evsel->core.attr.exclude_host;
1161 attr.exclude_guest = evsel->core.attr.exclude_guest;
1162 attr.sample_id_all = evsel->core.attr.sample_id_all;
1163 attr.read_format = evsel->core.attr.read_format;
1165 /* create new id val to be a fixed offset from evsel id */
1166 id = evsel->core.id[0] + 1000000000;