]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-109136: Fix summarize_stats.py tool (#109137)
authorMichael Droettboom <mdboom@gmail.com>
Fri, 8 Sep 2023 16:23:58 +0000 (12:23 -0400)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 16:23:58 +0000 (18:23 +0200)
Tools/scripts/summarize_stats.py

index 2d198506fb5c6c34c84ca98f95a7fb6865433da2..55b67643977a004b256cae74035caf658139703c 100644 (file)
@@ -430,7 +430,7 @@ def emit_comparative_specialization_overview(base_opcode_stats, base_total, head
         )
 
 def get_stats_defines():
-    stats_path = os.path.join(os.path.dirname(__file__), "../../Include/pystats.h")
+    stats_path = os.path.join(os.path.dirname(__file__), "../../Include/cpython/pystats.h")
     with open(stats_path) as stats_src:
         defines = parse_kinds(stats_src, prefix="EVAL_CALL")
     return defines