summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/wall2/t83.py
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-25 11:45:58 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-25 11:45:58 -0400
commit91a11327a152cba1b71bf11bc3d13b1358fb35a4 (patch)
tree4018b788742894ba02ae102998b2a483e5a11c11 /tools/guest-diag/wall2/t83.py
parent7924df70261aad94b919add5778a910b0f9837bd (diff)
downloadopen-iov-91a11327a152cba1b71bf11bc3d13b1358fb35a4.tar.gz
open-iov-91a11327a152cba1b71bf11bc3d13b1358fb35a4.zip
wall2 session 90: current-boot wait site identified (eglcore+0xB2852D in-process word pair wait inside vkCreateInstance; old 0xa85d24/16K sites dead this boot); t83 sampler + widened nudge tools; multi-word nudge trips -4 (caution confirmed)
Diffstat (limited to 'tools/guest-diag/wall2/t83.py')
-rw-r--r--tools/guest-diag/wall2/t83.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/guest-diag/wall2/t83.py b/tools/guest-diag/wall2/t83.py
new file mode 100644
index 0000000..5e3cce2
--- /dev/null
+++ b/tools/guest-diag/wall2/t83.py
@@ -0,0 +1,25 @@
+import gdb
+from collections import Counter
+gr = gdb.execute
+pcs = Counter()
+inf = gdb.selected_inferior()
+for i in range(300):
+ try:
+ gr("stepi", to_string=True)
+ except Exception as e:
+ print("stepfail %s" % e); break
+ try:
+ pcs[int(gdb.parse_and_eval("$pc"))] += 1
+ except Exception:
+ break
+print("HOTPCS")
+top = pcs.most_common(4)
+for pc, n in top:
+ print("PC 0x%x hits=%d" % (pc, n))
+for pc, n in top[:1]:
+ try:
+ print(gr("x/10i 0x%x" % pc, to_string=True))
+ print(gr("info registers rax rbx rcx rdx rsi rdi rbp r8 r9 r10 r11 r12 r13 r14 r15", to_string=True))
+ except Exception as e:
+ print("fail %s" % e)
+print("T83-DONE")