mirror of https://github.com/python/cpython
gh-109136: Fix summarize_stats.py tool (#109137)
This commit is contained in:
parent
6275c67ea6
commit
52beebc856
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue