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
This commit is contained in:
Mark Shannon 2021-12-15 15:32:32 +00:00 committed by GitHub
parent 3a60bfef49
commit 342b93f9f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 73 additions and 44 deletions

View file

@ -349,8 +349,8 @@ PyEval_InitThreads(void)
void
_PyEval_Fini(void)
{
#if PRINT_SPECIALIZATION_STATS
_Py_PrintSpecializationStats();
#ifdef Py_STATS
_Py_PrintSpecializationStats(1);
#endif
}