pyrf_event
static PyObject *pyrf_task_event__repr(const struct pyrf_event *pevent)
.tp_basicsize = sizeof(struct pyrf_event),
static PyObject *pyrf_comm_event__repr(const struct pyrf_event *pevent)
.tp_basicsize = sizeof(struct pyrf_event),
struct pyrf_event *pevent = (struct pyrf_event *)pyevent;
static PyObject *pyrf_throttle_event__repr(const struct pyrf_event *pevent)
.tp_basicsize = sizeof(struct pyrf_event),
static PyObject *pyrf_lost_event__repr(const struct pyrf_event *pevent)
.tp_basicsize = sizeof(struct pyrf_event),
static PyObject *pyrf_read_event__repr(const struct pyrf_event *pevent)
.tp_basicsize = sizeof(struct pyrf_event),
static void pyrf_sample_event__delete(struct pyrf_event *pevent)
static PyObject *pyrf_sample_event__repr(const struct pyrf_event *pevent)
static bool is_tracepoint(const struct pyrf_event *pevent)
tracepoint_field(const struct pyrf_event *pe, struct tep_format_field *field)
offsetof(struct pyrf_event, event) + offsetof(struct type, member), \
get_tracepoint_field(struct pyrf_event *pevent, PyObject *attr_name)
pyrf_sample_event__getattro(struct pyrf_event *pevent, PyObject *attr_name)
offsetof(struct pyrf_event, sample) + offsetof(struct perf_sample, member), \
.tp_basicsize = sizeof(struct pyrf_event),
static PyObject *pyrf_context_switch_event__repr(const struct pyrf_event *pevent)
.tp_basicsize = sizeof(struct pyrf_event),
struct pyrf_event *pevent;
pevent = PyObject_New(struct pyrf_event, ptype);
static PyObject *pyrf_mmap_event__repr(const struct pyrf_event *pevent)
.tp_basicsize = sizeof(struct pyrf_event),