PyObject 23 tools/perf/scripts/python/Perf-Trace-Util/Context.c static PyObject *perf_trace_context_common_pc(PyObject *obj, PyObject *args) PyObject 26 tools/perf/scripts/python/Perf-Trace-Util/Context.c PyObject *context; PyObject 38 tools/perf/scripts/python/Perf-Trace-Util/Context.c static PyObject *perf_trace_context_common_flags(PyObject *obj, PyObject 39 tools/perf/scripts/python/Perf-Trace-Util/Context.c PyObject *args) PyObject 42 tools/perf/scripts/python/Perf-Trace-Util/Context.c PyObject *context; PyObject 54 tools/perf/scripts/python/Perf-Trace-Util/Context.c static PyObject *perf_trace_context_common_lock_depth(PyObject *obj, PyObject 55 tools/perf/scripts/python/Perf-Trace-Util/Context.c PyObject *args) PyObject 58 tools/perf/scripts/python/Perf-Trace-Util/Context.c PyObject *context; PyObject 42 tools/perf/util/python.c #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) PyObject 138 tools/perf/util/python.c static PyObject *pyrf_mmap_event__repr(struct pyrf_event *pevent) PyObject 140 tools/perf/util/python.c PyObject *ret; PyObject 180 tools/perf/util/python.c static PyObject *pyrf_task_event__repr(struct pyrf_event *pevent) PyObject 213 tools/perf/util/python.c static PyObject *pyrf_comm_event__repr(struct pyrf_event *pevent) PyObject 242 tools/perf/util/python.c static PyObject *pyrf_throttle_event__repr(struct pyrf_event *pevent) PyObject 271 tools/perf/util/python.c static PyObject *pyrf_lost_event__repr(struct pyrf_event *pevent) PyObject 273 tools/perf/util/python.c PyObject *ret; PyObject 306 tools/perf/util/python.c static PyObject *pyrf_read_event__repr(struct pyrf_event *pevent) PyObject 335 tools/perf/util/python.c static PyObject *pyrf_sample_event__repr(struct pyrf_event *pevent) PyObject 337 tools/perf/util/python.c PyObject *ret; PyObject 354 tools/perf/util/python.c static PyObject* PyObject 359 tools/perf/util/python.c PyObject *ret = NULL; PyObject 393 tools/perf/util/python.c static PyObject* PyObject 394 tools/perf/util/python.c get_tracepoint_field(struct pyrf_event *pevent, PyObject *attr_name) PyObject 417 tools/perf/util/python.c static PyObject* PyObject 418 tools/perf/util/python.c pyrf_sample_event__getattro(struct pyrf_event *pevent, PyObject *attr_name) PyObject 420 tools/perf/util/python.c PyObject *obj = NULL; PyObject 425 tools/perf/util/python.c return obj ?: PyObject_GenericGetAttr((PyObject *) pevent, attr_name); PyObject 449 tools/perf/util/python.c static PyObject *pyrf_context_switch_event__repr(struct pyrf_event *pevent) PyObject 451 tools/perf/util/python.c PyObject *ret; PyObject 529 tools/perf/util/python.c static PyObject *pyrf_event__new(union perf_event *event) PyObject 544 tools/perf/util/python.c return (PyObject *)pevent; PyObject 554 tools/perf/util/python.c PyObject *args, PyObject *kwargs) PyObject 572 tools/perf/util/python.c Py_TYPE(pcpus)->tp_free((PyObject*)pcpus); PyObject 575 tools/perf/util/python.c static Py_ssize_t pyrf_cpu_map__length(PyObject *obj) PyObject 582 tools/perf/util/python.c static PyObject *pyrf_cpu_map__item(PyObject *obj, Py_ssize_t i) PyObject 623 tools/perf/util/python.c PyObject *args, PyObject *kwargs) PyObject 641 tools/perf/util/python.c Py_TYPE(pthreads)->tp_free((PyObject*)pthreads); PyObject 644 tools/perf/util/python.c static Py_ssize_t pyrf_thread_map__length(PyObject *obj) PyObject 651 tools/perf/util/python.c static PyObject *pyrf_thread_map__item(PyObject *obj, Py_ssize_t i) PyObject 692 tools/perf/util/python.c PyObject *args, PyObject *kwargs) PyObject 803 tools/perf/util/python.c Py_TYPE(pevsel)->tp_free((PyObject*)pevsel); PyObject 806 tools/perf/util/python.c static PyObject *pyrf_evsel__open(struct pyrf_evsel *pevsel, PyObject 807 tools/perf/util/python.c PyObject *args, PyObject *kwargs) PyObject 812 tools/perf/util/python.c PyObject *pcpus = NULL, *pthreads = NULL; PyObject 876 tools/perf/util/python.c PyObject *args, PyObject *kwargs __maybe_unused) PyObject 878 tools/perf/util/python.c PyObject *pcpus = NULL, *pthreads = NULL; PyObject 894 tools/perf/util/python.c Py_TYPE(pevlist)->tp_free((PyObject*)pevlist); PyObject 897 tools/perf/util/python.c static PyObject *pyrf_evlist__mmap(struct pyrf_evlist *pevlist, PyObject 898 tools/perf/util/python.c PyObject *args, PyObject *kwargs) PyObject 917 tools/perf/util/python.c static PyObject *pyrf_evlist__poll(struct pyrf_evlist *pevlist, PyObject 918 tools/perf/util/python.c PyObject *args, PyObject *kwargs) PyObject 936 tools/perf/util/python.c static PyObject *pyrf_evlist__get_pollfd(struct pyrf_evlist *pevlist, PyObject 937 tools/perf/util/python.c PyObject *args __maybe_unused, PyObject 938 tools/perf/util/python.c PyObject *kwargs __maybe_unused) PyObject 941 tools/perf/util/python.c PyObject *list = PyList_New(0); PyObject 945 tools/perf/util/python.c PyObject *file; PyObject 974 tools/perf/util/python.c static PyObject *pyrf_evlist__add(struct pyrf_evlist *pevlist, PyObject 975 tools/perf/util/python.c PyObject *args, PyObject 976 tools/perf/util/python.c PyObject *kwargs __maybe_unused) PyObject 979 tools/perf/util/python.c PyObject *pevsel; PyObject 1007 tools/perf/util/python.c static PyObject *pyrf_evlist__read_on_cpu(struct pyrf_evlist *pevlist, PyObject 1008 tools/perf/util/python.c PyObject *args, PyObject *kwargs) PyObject 1030 tools/perf/util/python.c PyObject *pyevent = pyrf_event__new(event); PyObject 1060 tools/perf/util/python.c static PyObject *pyrf_evlist__open(struct pyrf_evlist *pevlist, PyObject 1061 tools/perf/util/python.c PyObject *args, PyObject *kwargs) PyObject 1122 tools/perf/util/python.c static Py_ssize_t pyrf_evlist__length(PyObject *obj) PyObject 1129 tools/perf/util/python.c static PyObject *pyrf_evlist__item(PyObject *obj, Py_ssize_t i) PyObject 1253 tools/perf/util/python.c static PyObject *pyrf__tracepoint(struct pyrf_evsel *pevsel, PyObject 1254 tools/perf/util/python.c PyObject *args, PyObject *kwargs) PyObject 1288 tools/perf/util/python.c PyObject *obj; PyObject 1290 tools/perf/util/python.c PyObject *dict; PyObject 1292 tools/perf/util/python.c PyObject *module = Py_InitModule("perf", perf__methods); PyObject 1305 tools/perf/util/python.c PyObject *module = PyModule_Create(&moduledef); PyObject 1324 tools/perf/util/python.c PyModule_AddObject(module, "evlist", (PyObject*)&pyrf_evlist__type); PyObject 1327 tools/perf/util/python.c PyModule_AddObject(module, "evsel", (PyObject*)&pyrf_evsel__type); PyObject 1330 tools/perf/util/python.c PyModule_AddObject(module, "mmap_event", (PyObject *)&pyrf_mmap_event__type); PyObject 1333 tools/perf/util/python.c PyModule_AddObject(module, "lost_event", (PyObject *)&pyrf_lost_event__type); PyObject 1336 tools/perf/util/python.c PyModule_AddObject(module, "comm_event", (PyObject *)&pyrf_comm_event__type); PyObject 1339 tools/perf/util/python.c PyModule_AddObject(module, "task_event", (PyObject *)&pyrf_task_event__type); PyObject 1342 tools/perf/util/python.c PyModule_AddObject(module, "throttle_event", (PyObject *)&pyrf_throttle_event__type); PyObject 1345 tools/perf/util/python.c PyModule_AddObject(module, "task_event", (PyObject *)&pyrf_task_event__type); PyObject 1348 tools/perf/util/python.c PyModule_AddObject(module, "read_event", (PyObject *)&pyrf_read_event__type); PyObject 1351 tools/perf/util/python.c PyModule_AddObject(module, "sample_event", (PyObject *)&pyrf_sample_event__type); PyObject 1354 tools/perf/util/python.c PyModule_AddObject(module, "switch_event", (PyObject *)&pyrf_context_switch_event__type); PyObject 1357 tools/perf/util/python.c PyModule_AddObject(module, "thread_map", (PyObject*)&pyrf_thread_map__type); PyObject 1360 tools/perf/util/python.c PyModule_AddObject(module, "cpu_map", (PyObject*)&pyrf_cpu_map__type); PyObject 100 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *main_module, *main_dict; PyObject 104 tools/perf/util/scripting-engines/trace-event-python.c PyObject *evsel_handler; PyObject 105 tools/perf/util/scripting-engines/trace-event-python.c PyObject *machine_handler; PyObject 106 tools/perf/util/scripting-engines/trace-event-python.c PyObject *thread_handler; PyObject 107 tools/perf/util/scripting-engines/trace-event-python.c PyObject *comm_handler; PyObject 108 tools/perf/util/scripting-engines/trace-event-python.c PyObject *comm_thread_handler; PyObject 109 tools/perf/util/scripting-engines/trace-event-python.c PyObject *dso_handler; PyObject 110 tools/perf/util/scripting-engines/trace-event-python.c PyObject *symbol_handler; PyObject 111 tools/perf/util/scripting-engines/trace-event-python.c PyObject *branch_type_handler; PyObject 112 tools/perf/util/scripting-engines/trace-event-python.c PyObject *sample_handler; PyObject 113 tools/perf/util/scripting-engines/trace-event-python.c PyObject *call_path_handler; PyObject 114 tools/perf/util/scripting-engines/trace-event-python.c PyObject *call_return_handler; PyObject 115 tools/perf/util/scripting-engines/trace-event-python.c PyObject *synth_handler; PyObject 116 tools/perf/util/scripting-engines/trace-event-python.c PyObject *context_switch_handler; PyObject 137 tools/perf/util/scripting-engines/trace-event-python.c static void pydict_set_item_string_decref(PyObject *dict, const char *key, PyObject *val) PyObject 143 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *get_handler(const char *handler_name) PyObject 145 tools/perf/util/scripting-engines/trace-event-python.c PyObject *handler; PyObject 153 tools/perf/util/scripting-engines/trace-event-python.c static int get_argument_count(PyObject *handler) PyObject 161 tools/perf/util/scripting-engines/trace-event-python.c PyObject *code_obj = PyObject_GetAttrString(handler, PyObject 170 tools/perf/util/scripting-engines/trace-event-python.c PyObject *arg_count_obj = PyObject_GetAttrString(code_obj, PyObject 181 tools/perf/util/scripting-engines/trace-event-python.c static void call_object(PyObject *handler, PyObject *args, const char *die_msg) PyObject 183 tools/perf/util/scripting-engines/trace-event-python.c PyObject *retval; PyObject 191 tools/perf/util/scripting-engines/trace-event-python.c static void try_call_object(const char *handler_name, PyObject *args) PyObject 193 tools/perf/util/scripting-engines/trace-event-python.c PyObject *handler; PyObject 207 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 248 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 339 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *get_field_numeric_entry(struct tep_event *event, PyObject 343 tools/perf/util/scripting-engines/trace-event-python.c PyObject *obj = NULL, *list = NULL; PyObject 394 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *python_process_callchain(struct perf_sample *sample, PyObject 398 tools/perf/util/scripting-engines/trace-event-python.c PyObject *pylist; PyObject 417 tools/perf/util/scripting-engines/trace-event-python.c PyObject *pyelem; PyObject 432 tools/perf/util/scripting-engines/trace-event-python.c PyObject *pysym = PyDict_New(); PyObject 463 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *python_process_brstack(struct perf_sample *sample, PyObject 467 tools/perf/util/scripting-engines/trace-event-python.c PyObject *pylist; PyObject 478 tools/perf/util/scripting-engines/trace-event-python.c PyObject *pyelem; PyObject 560 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *python_process_brstacksym(struct perf_sample *sample, PyObject 564 tools/perf/util/scripting-engines/trace-event-python.c PyObject *pylist; PyObject 577 tools/perf/util/scripting-engines/trace-event-python.c PyObject *pyelem; PyObject 623 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *get_sample_value_as_tuple(struct sample_read_value *value) PyObject 625 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 635 tools/perf/util/scripting-engines/trace-event-python.c static void set_sample_read_in_dict(PyObject *dict_sample, PyObject 640 tools/perf/util/scripting-engines/trace-event-python.c PyObject *values; PyObject 663 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t = get_sample_value_as_tuple(&sample->read.group.values[i]); PyObject 667 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t = get_sample_value_as_tuple(&sample->read.one); PyObject 673 tools/perf/util/scripting-engines/trace-event-python.c static void set_sample_datasrc_in_dict(PyObject *dict, PyObject 706 tools/perf/util/scripting-engines/trace-event-python.c static void set_regs_in_dict(PyObject *dict, PyObject 724 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *get_perf_sample_dict(struct perf_sample *sample, PyObject 727 tools/perf/util/scripting-engines/trace-event-python.c PyObject *callchain) PyObject 729 tools/perf/util/scripting-engines/trace-event-python.c PyObject *dict, *dict_sample, *brstack, *brstacksym; PyObject 797 tools/perf/util/scripting-engines/trace-event-python.c PyObject *handler, *context, *t, *obj = NULL, *callchain; PyObject 798 tools/perf/util/scripting-engines/trace-event-python.c PyObject *dict = NULL, *all_entries_dict = NULL; PyObject 922 tools/perf/util/scripting-engines/trace-event-python.c static PyObject *tuple_new(unsigned int sz) PyObject 924 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 932 tools/perf/util/scripting-engines/trace-event-python.c static int tuple_set_u64(PyObject *t, unsigned int pos, u64 val) PyObject 942 tools/perf/util/scripting-engines/trace-event-python.c static int tuple_set_s32(PyObject *t, unsigned int pos, s32 val) PyObject 947 tools/perf/util/scripting-engines/trace-event-python.c static int tuple_set_string(PyObject *t, unsigned int pos, const char *s) PyObject 952 tools/perf/util/scripting-engines/trace-event-python.c static int tuple_set_bytes(PyObject *t, unsigned int pos, void *bytes, PyObject 961 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 979 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 998 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1019 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1040 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1060 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1084 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1106 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1124 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1161 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1190 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1215 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1248 tools/perf/util/scripting-engines/trace-event-python.c PyObject *t; PyObject 1281 tools/perf/util/scripting-engines/trace-event-python.c PyObject *handler, *t, *dict, *callchain; PyObject 1359 tools/perf/util/scripting-engines/trace-event-python.c PyObject *handler, *t; PyObject 1416 tools/perf/util/scripting-engines/trace-event-python.c PyObject *handler, *t; PyObject 1476 tools/perf/util/scripting-engines/trace-event-python.c PyObject *db_export_mode, *db_export_calls, *db_export_callchains;