diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2023-12-01 13:20:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 13:20:51 (GMT) |
commit | a73aa48e6bec900be7edd3431deaa5fc1d809e6f (patch) | |
tree | 52409eeb740cb5da1f85aad195753a279b7bd980 /Include | |
parent | bfb576ee23c133bec0ce7c26a8ecea76926b9d8e (diff) | |
download | cpython-a73aa48e6bec900be7edd3431deaa5fc1d809e6f.zip cpython-a73aa48e6bec900be7edd3431deaa5fc1d809e6f.tar.gz cpython-a73aa48e6bec900be7edd3431deaa5fc1d809e6f.tar.bz2 |
gh-112367: Only free perf trampoline arenas at shutdown (#112368)
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_ceval.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_ceval.h b/Include/internal/pycore_ceval.h index c372b72..3f7ac92 100644 --- a/Include/internal/pycore_ceval.h +++ b/Include/internal/pycore_ceval.h @@ -101,6 +101,7 @@ extern int _PyPerfTrampoline_SetCallbacks(_PyPerf_Callbacks *); extern void _PyPerfTrampoline_GetCallbacks(_PyPerf_Callbacks *); extern int _PyPerfTrampoline_Init(int activate); extern int _PyPerfTrampoline_Fini(void); +extern void _PyPerfTrampoline_FreeArenas(void); extern int _PyIsPerfTrampolineActive(void); extern PyStatus _PyPerfTrampoline_AfterFork_Child(void); #ifdef PY_HAVE_PERF_TRAMPOLINE |