summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-12-15 15:32:32 (GMT)
committerGitHub <noreply@github.com>2021-12-15 15:32:32 (GMT)
commit342b93f9f28746abb7b221a61d5a9b26ccbb395a (patch)
treeebbe62af5b0853d8a8922c203174a88553ad798f /Python/ceval.c
parent3a60bfef49b3324660a615a8e6d10710e5f669d9 (diff)
downloadcpython-342b93f9f28746abb7b221a61d5a9b26ccbb395a.zip
cpython-342b93f9f28746abb7b221a61d5a9b26ccbb395a.tar.gz
cpython-342b93f9f28746abb7b221a61d5a9b26ccbb395a.tar.bz2
bpo-46072: Add --with-pystats configure option to simplify gathering of VM stats (GH-30116)
* Simplify specialization stats collection macros. * Add --enable-pystats option to configure. * Update specialization summary script to handle larger number of kinds
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index b9444b2..87d6a22 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -349,8 +349,8 @@ PyEval_InitThreads(void)
void
_PyEval_Fini(void)
{
-#if PRINT_SPECIALIZATION_STATS
- _Py_PrintSpecializationStats();
+#ifdef Py_STATS
+ _Py_PrintSpecializationStats(1);
#endif
}