diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2026-03-23 13:14:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-23 13:14:07 -0700 |
| commit | 8a5fc14f7ed9b1180ca4b70e56676381fa02804a (patch) | |
| tree | 8cf4f625477a81021de3bf631e31bc5d037d62f7 /misc | |
| parent | cec348cfa6d87afb6a5068a80d88cc40df19fb39 (diff) | |
ZJIT: Allow --zjit-perf to dump perf symbols for HIR (#16501)
Diffstat (limited to 'misc')
| -rwxr-xr-x | misc/jit_perf.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/jit_perf.py b/misc/jit_perf.py index 37a63f5329..bc0f961b20 100755 --- a/misc/jit_perf.py +++ b/misc/jit_perf.py @@ -22,8 +22,7 @@ def categorize_symbol(dso, symbol): return '[sha256]' elif symbol.startswith('[JIT] gen_send'): return '[JIT send]' - # TODO: Stop using zjit:: as the prefix for JIT code. Rust modules and JIT code should use different namespaces. - elif symbol.startswith('[JIT]') or (symbol.startswith('zjit::') and '@') or symbol == 'zjit::ZJIT entry trampoline': + elif symbol.startswith('[JIT]') or symbol.startswith('ZJIT: ') or dso.startswith('perf-'): return '[JIT code]' elif '::' in symbol or symbol.startswith('_ZN4yjit') or symbol.startswith('_ZN4zjit'): return '[JIT compile]' |
