Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-11-19 09:50:42

0001 #ifndef Py_CPYTHON_SYSMODULE_H
0002 #  error "this header file must not be included directly"
0003 #endif
0004 
0005 typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *);
0006 
0007 PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*);
0008 
0009 typedef struct {
0010     FILE* perf_map;
0011     PyThread_type_lock map_lock;
0012 } PerfMapState;
0013 
0014 PyAPI_FUNC(int) PyUnstable_PerfMapState_Init(void);
0015 PyAPI_FUNC(int) PyUnstable_WritePerfMapEntry(
0016     const void *code_addr,
0017     unsigned int code_size,
0018     const char *entry_name);
0019 PyAPI_FUNC(void) PyUnstable_PerfMapState_Fini(void);
0020 PyAPI_FUNC(int) PyUnstable_CopyPerfMapFile(const char* parent_filename);
0021 PyAPI_FUNC(int) PyUnstable_PerfTrampoline_CompileCode(PyCodeObject *);
0022 PyAPI_FUNC(int) PyUnstable_PerfTrampoline_SetPersistAfterFork(int enable);