Lines Matching refs:pevsel
507 static int pyrf_evsel__init(struct pyrf_evsel *pevsel, in pyrf_evsel__init() argument
608 perf_evsel__init(&pevsel->evsel, &attr, idx); in pyrf_evsel__init()
612 static void pyrf_evsel__delete(struct pyrf_evsel *pevsel) in pyrf_evsel__delete() argument
614 perf_evsel__exit(&pevsel->evsel); in pyrf_evsel__delete()
615 pevsel->ob_type->tp_free((PyObject*)pevsel); in pyrf_evsel__delete()
618 static PyObject *pyrf_evsel__open(struct pyrf_evsel *pevsel, in pyrf_evsel__open() argument
621 struct perf_evsel *evsel = &pevsel->evsel; in pyrf_evsel__open()
786 PyObject *pevsel; in pyrf_evlist__add() local
789 if (!PyArg_ParseTuple(args, "O", &pevsel)) in pyrf_evlist__add()
792 Py_INCREF(pevsel); in pyrf_evlist__add()
793 evsel = &((struct pyrf_evsel *)pevsel)->evsel; in pyrf_evlist__add()