pyrf_evsel
static void pyrf_evsel__delete(struct pyrf_evsel *pevsel)
static PyObject *pyrf_evsel__open(struct pyrf_evsel *pevsel,
static PyObject *pyrf_evsel__cpus(struct pyrf_evsel *pevsel)
static PyObject *pyrf_evsel__threads(struct pyrf_evsel *pevsel)
static PyObject *pyrf_evsel__read(struct pyrf_evsel *pevsel,
struct pyrf_evsel *pevsel = (void *)self;
offsetof(struct pyrf_evsel, evsel.member), \
offsetof(struct pyrf_evsel, evsel.core.attr.member), \
.tp_basicsize = sizeof(struct pyrf_evsel),
evsel = &((struct pyrf_evsel *)pevsel)->evsel;
return Py_BuildValue("O", container_of(pos, struct pyrf_evsel, evsel));
static PyObject *pyrf__tracepoint(struct pyrf_evsel *pevsel,
struct pyrf_evsel *pevsel = PyObject_New(struct pyrf_evsel, &pyrf_evsel__type);
struct pyrf_evsel *pevsel = (void *)pyrf_evsel__from_evsel(pos);
static int pyrf_evsel__init(struct pyrf_evsel *pevsel,