Lines Matching refs:module
1270 PyObject *module = Py_InitModule("perf", perf__methods); in initperf() local
1283 PyObject *module = PyModule_Create(&moduledef); in initperf() local
1286 if (module == NULL || in initperf()
1295 return module; in initperf()
1302 PyModule_AddObject(module, "evlist", (PyObject*)&pyrf_evlist__type); in initperf()
1305 PyModule_AddObject(module, "evsel", (PyObject*)&pyrf_evsel__type); in initperf()
1308 PyModule_AddObject(module, "mmap_event", (PyObject *)&pyrf_mmap_event__type); in initperf()
1311 PyModule_AddObject(module, "lost_event", (PyObject *)&pyrf_lost_event__type); in initperf()
1314 PyModule_AddObject(module, "comm_event", (PyObject *)&pyrf_comm_event__type); in initperf()
1317 PyModule_AddObject(module, "task_event", (PyObject *)&pyrf_task_event__type); in initperf()
1320 PyModule_AddObject(module, "throttle_event", (PyObject *)&pyrf_throttle_event__type); in initperf()
1323 PyModule_AddObject(module, "task_event", (PyObject *)&pyrf_task_event__type); in initperf()
1326 PyModule_AddObject(module, "read_event", (PyObject *)&pyrf_read_event__type); in initperf()
1329 PyModule_AddObject(module, "sample_event", (PyObject *)&pyrf_sample_event__type); in initperf()
1332 PyModule_AddObject(module, "switch_event", (PyObject *)&pyrf_context_switch_event__type); in initperf()
1335 PyModule_AddObject(module, "thread_map", (PyObject*)&pyrf_thread_map__type); in initperf()
1338 PyModule_AddObject(module, "cpu_map", (PyObject*)&pyrf_cpu_map__type); in initperf()
1340 dict = PyModule_GetDict(module); in initperf()
1356 return module; in initperf()