diff options
Diffstat (limited to 'tools/perf/util/python.c')
-rw-r--r-- | tools/perf/util/python.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index c68ef0319114..fc277e486d17 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c | |||
@@ -1103,6 +1103,33 @@ PyMODINIT_FUNC initperf(void) | |||
1103 | Py_INCREF(&pyrf_evsel__type); | 1103 | Py_INCREF(&pyrf_evsel__type); |
1104 | PyModule_AddObject(module, "evsel", (PyObject*)&pyrf_evsel__type); | 1104 | PyModule_AddObject(module, "evsel", (PyObject*)&pyrf_evsel__type); |
1105 | 1105 | ||
1106 | Py_INCREF(&pyrf_mmap_event__type); | ||
1107 | PyModule_AddObject(module, "mmap_event", (PyObject *)&pyrf_mmap_event__type); | ||
1108 | |||
1109 | Py_INCREF(&pyrf_lost_event__type); | ||
1110 | PyModule_AddObject(module, "lost_event", (PyObject *)&pyrf_lost_event__type); | ||
1111 | |||
1112 | Py_INCREF(&pyrf_comm_event__type); | ||
1113 | PyModule_AddObject(module, "comm_event", (PyObject *)&pyrf_comm_event__type); | ||
1114 | |||
1115 | Py_INCREF(&pyrf_task_event__type); | ||
1116 | PyModule_AddObject(module, "task_event", (PyObject *)&pyrf_task_event__type); | ||
1117 | |||
1118 | Py_INCREF(&pyrf_throttle_event__type); | ||
1119 | PyModule_AddObject(module, "throttle_event", (PyObject *)&pyrf_throttle_event__type); | ||
1120 | |||
1121 | Py_INCREF(&pyrf_task_event__type); | ||
1122 | PyModule_AddObject(module, "task_event", (PyObject *)&pyrf_task_event__type); | ||
1123 | |||
1124 | Py_INCREF(&pyrf_read_event__type); | ||
1125 | PyModule_AddObject(module, "read_event", (PyObject *)&pyrf_read_event__type); | ||
1126 | |||
1127 | Py_INCREF(&pyrf_sample_event__type); | ||
1128 | PyModule_AddObject(module, "sample_event", (PyObject *)&pyrf_sample_event__type); | ||
1129 | |||
1130 | Py_INCREF(&pyrf_context_switch_event__type); | ||
1131 | PyModule_AddObject(module, "switch_event", (PyObject *)&pyrf_context_switch_event__type); | ||
1132 | |||
1106 | Py_INCREF(&pyrf_thread_map__type); | 1133 | Py_INCREF(&pyrf_thread_map__type); |
1107 | PyModule_AddObject(module, "thread_map", (PyObject*)&pyrf_thread_map__type); | 1134 | PyModule_AddObject(module, "thread_map", (PyObject*)&pyrf_thread_map__type); |
1108 | 1135 | ||