summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2026-03-18 17:23:36 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2026-03-19 10:19:33 -0700
commitea5aae06fd44d4ac93b9af1ca4b8d7aaf96d9247 (patch)
treef8b050502da2508b69b551d9bb36e8cc7abdf014 /misc
parentd01875d6dd24a3f630b52dc26b3898d74ab9fe77 (diff)
yjit_perf.py: Fix the script for the latest perf format
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/yjit_perf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/yjit_perf.py b/misc/yjit_perf.py
index 61434e5eb4..117e1da4f6 100755
--- a/misc/yjit_perf.py
+++ b/misc/yjit_perf.py
@@ -108,7 +108,7 @@ if __name__ == "__main__" and len(sys.argv) == 2:
row = line.split(maxsplit=6)
period = row[3] # "1212775"
- symbol, dso = row[6].split(" (") # "[JIT] getlocal_WC_0+0x0", "/tmp/perf-78207.map)\n"
+ symbol, dso = row[6].rsplit(" (", 1) # "[JIT] getlocal_WC_0+0x0", "/tmp/perf-78207.map)\n"
symbol = symbol.split("+")[0] # "[JIT] getlocal_WC_0"
dso = dso.split(")")[0] # "/tmp/perf-78207.map"