Lines Matching refs:pevsel
815 static int pyrf_evsel__init(struct pyrf_evsel *pevsel, in pyrf_evsel__init() argument
920 evsel__init(&pevsel->evsel, &attr, idx); in pyrf_evsel__init()
924 static void pyrf_evsel__delete(struct pyrf_evsel *pevsel) in pyrf_evsel__delete() argument
926 evsel__exit(&pevsel->evsel); in pyrf_evsel__delete()
927 Py_TYPE(pevsel)->tp_free((PyObject*)pevsel); in pyrf_evsel__delete()
930 static PyObject *pyrf_evsel__open(struct pyrf_evsel *pevsel, in pyrf_evsel__open() argument
933 struct evsel *evsel = &pevsel->evsel; in pyrf_evsel__open()
1103 PyObject *pevsel; in pyrf_evlist__add() local
1106 if (!PyArg_ParseTuple(args, "O", &pevsel)) in pyrf_evlist__add()
1109 Py_INCREF(pevsel); in pyrf_evlist__add()
1110 evsel = &((struct pyrf_evsel *)pevsel)->evsel; in pyrf_evlist__add()
1369 static PyObject *pyrf__tracepoint(struct pyrf_evsel *pevsel, in pyrf__tracepoint() argument