Lines Matching refs:evsel
6 #include "evsel.h"
382 struct perf_evsel evsel;
484 perf_evsel__init(&pevsel->evsel, &attr, idx);
490 perf_evsel__exit(&pevsel->evsel);
497 struct perf_evsel *evsel = &pevsel->evsel;
514 evsel->attr.inherit = inherit;
515 if (perf_evsel__open(evsel, cpus, threads, group) < 0) {
538 .tp_name = "perf.evsel",
658 struct perf_evsel *evsel;
664 evsel = &((struct pyrf_evsel *)pevsel)->evsel;
665 evsel->idx = evlist->nr_entries;
666 perf_evlist__add(evlist, evsel);
760 return Py_BuildValue("O", container_of(pos, struct pyrf_evsel, evsel));
882 PyModule_AddObject(module, "evsel", (PyObject*)&pyrf_evsel__type);