Lines Matching defs:evsel
23 #include "evsel.h"
471 struct evsel *evsel;
479 evlist__for_each_entry(evlist, evsel) {
480 if ((evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
729 struct evsel *evsel)
733 return evsel->core.attr.type == spe->pmu_type;
780 struct evsel *evsel;
782 evlist__for_each_entry(evlist, evsel) {
783 if (evsel->core.id && evsel->core.id[0] == id) {
784 if (evsel->name)
785 zfree(&evsel->name);
786 evsel->name = strdup(name);
796 struct evsel *evsel;
802 evlist__for_each_entry(evlist, evsel) {
803 if (evsel->core.attr.type == spe->pmu_type) {
817 attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK;
827 attr.exclude_user = evsel->core.attr.exclude_user;
828 attr.exclude_kernel = evsel->core.attr.exclude_kernel;
829 attr.exclude_hv = evsel->core.attr.exclude_hv;
830 attr.exclude_host = evsel->core.attr.exclude_host;
831 attr.exclude_guest = evsel->core.attr.exclude_guest;
832 attr.sample_id_all = evsel->core.attr.sample_id_all;
833 attr.read_format = evsel->core.attr.read_format;
835 /* create new id val to be a fixed offset from evsel id */
836 id = evsel->core.id[0] + 1000000000;