diff --git a/Include/cpython/sysmodule.h b/Include/cpython/sysmodule.h index df12ae440f024b..c6f6776a8b9896 100644 --- a/Include/cpython/sysmodule.h +++ b/Include/cpython/sysmodule.h @@ -21,3 +21,4 @@ PyAPI_FUNC(int) PyUnstable_WritePerfMapEntry( unsigned int code_size, const char *entry_name); PyAPI_FUNC(void) PyUnstable_PerfMapState_Fini(void); +PyAPI_FUNC(int) PyUnstable_CopyPerfMapFile(const char* parent_filename); diff --git a/Include/sysmodule.h b/Include/sysmodule.h index a59c4745c1f4a8..7b14f72ee2e494 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -1,6 +1,3 @@ - -/* System module interface */ - #ifndef Py_SYSMODULE_H #define Py_SYSMODULE_H #ifdef __cplusplus @@ -27,17 +24,10 @@ PyAPI_FUNC(int) PySys_Audit( const char *argFormat, ...); -PyAPI_FUNC(int) PyUnstable_PerfMapState_Init(void); - -PyAPI_FUNC(int) PyUnstable_WritePerfMapEntry(const void *code_addr, unsigned int code_size, const char *entry_name); - -PyAPI_FUNC(void) PyUnstable_PerfMapState_Fini(void); - -PyAPI_FUNC(int) PyUnstable_CopyPerfMapFile(const char* parent_filename); -#endif PyAPI_FUNC(int) PySys_AuditTuple( const char *event, PyObject *args); +#endif #ifndef Py_LIMITED_API # define Py_CPYTHON_SYSMODULE_H