gh-109136: Fix summarize_stats.py tool (#109137)

This commit is contained in:
Michael Droettboom 2023-09-08 12:23:58 -04:00 committed by GitHub
parent 6275c67ea6
commit 52beebc856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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