aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorgsallam <123525874+gsallam@users.noreply.github.com>2023-05-21 03:12:24 -0700
committerGitHub <noreply@github.com>2023-05-21 11:12:24 +0100
commitbe0c106789322273f1f76d232c768c09880a14bd (patch)
tree5068f5a53ac893d612272fcff8dcaa0c28ee4d69 /Python/pylifecycle.c
parent2e91c7e62609ef405901dd5c4cb9d5aa794591ab (diff)
downloadcpython-be0c106789322273f1f76d232c768c09880a14bd.tar.gz
cpython-be0c106789322273f1f76d232c768c09880a14bd.zip
gh-103295: expose API for writing perf map files (#103546)
Co-authored-by: Aniket Panse <aniketpanse@fb.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Carl Meyer <carl@oddbird.net>
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 93ad1fe0980..06c43459624 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -1775,6 +1775,7 @@ Py_FinalizeEx(void)
*/
_PyAtExit_Call(tstate->interp);
+ PyUnstable_PerfMapState_Fini();
/* Copy the core config, PyInterpreterState_Delete() free
the core config memory */