Lines Matching refs:evsel
9 #include "evsel.h"
28 struct evsel *evsel = evsel__new(attrs + i);
30 if (evsel == NULL)
32 list_add_tail(&evsel->core.node, &head);
38 struct evsel *evsel;
40 evsel = evsel__new(attrs + i);
41 if (evsel == NULL)
43 evsel->core.attr.config |= (__u64)pmu->type << PERF_PMU_TYPE_SHIFT;
45 evsel->core.cpus = cpus;
46 evsel->core.own_cpus = perf_cpu_map__get(cpus);
47 evsel->pmu_name = strdup(pmu->name);
48 list_add_tail(&evsel->core.node, &head);
58 struct evsel *evsel, *n;
60 __evlist__for_each_entry_safe(&head, n, evsel)
61 evsel__delete(evsel);
76 int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs)