Lines Matching refs:pevsel
553 static int pyrf_evsel__init(struct pyrf_evsel *pevsel, in pyrf_evsel__init() argument
657 perf_evsel__init(&pevsel->evsel, &attr, idx); in pyrf_evsel__init()
661 static void pyrf_evsel__delete(struct pyrf_evsel *pevsel) in pyrf_evsel__delete() argument
663 perf_evsel__exit(&pevsel->evsel); in pyrf_evsel__delete()
664 pevsel->ob_type->tp_free((PyObject*)pevsel); in pyrf_evsel__delete()
667 static PyObject *pyrf_evsel__open(struct pyrf_evsel *pevsel, in pyrf_evsel__open() argument
670 struct perf_evsel *evsel = &pevsel->evsel; in pyrf_evsel__open()
835 PyObject *pevsel; in pyrf_evlist__add() local
838 if (!PyArg_ParseTuple(args, "O", &pevsel)) in pyrf_evlist__add()
841 Py_INCREF(pevsel); in pyrf_evlist__add()
842 evsel = &((struct pyrf_evsel *)pevsel)->evsel; in pyrf_evlist__add()