summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 06:25:03 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 06:25:03 -0400
commit7cd1b17fc04cf20609ed9402cb3d466710e59eff (patch)
tree20a63f785dd796919beda847e21048b26a8f7286 /tools
parent330e63e05106740749c3ca4d8c94a94352d6cc4c (diff)
downloadopen-iov-7cd1b17fc04cf20609ed9402cb3d466710e59eff.tar.gz
open-iov-7cd1b17fc04cf20609ed9402cb3d466710e59eff.zip
guest-diag: pin scanner matches cdt* so the copy-path test binary is tracked
The GR-window pin scanner matched comm=="cdt" exactly, so runs using the cuda_drv_test2 binary (comm "cdt2") never streamed their mappings: the GR push pages stayed unresolvable and the client stalled in context creation. Match the cdt prefix instead.
Diffstat (limited to 'tools')
-rw-r--r--tools/guest-diag/guest_pin_stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/guest-diag/guest_pin_stream.py b/tools/guest-diag/guest_pin_stream.py
index 94e4de9..f6f13e5 100644
--- a/tools/guest-diag/guest_pin_stream.py
+++ b/tools/guest-diag/guest_pin_stream.py
@@ -121,7 +121,7 @@ def cdt_pid():
continue
try:
with open('/proc/%s/comm' % d) as f:
- if f.read().strip() == 'cdt':
+ if f.read().strip().startswith('cdt'):
return int(d)
except OSError:
pass