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
commit8d081d5709c1cb2d19ee3df0648225de9187c226 (patch)
tree1dd26ad7f1e57d142a5301d8569e04478d06f904 /tools
parent4c1eff4b6af581187b847bd61a9f846bafca2713 (diff)
downloadopen-iov-8d081d5709c1cb2d19ee3df0648225de9187c226.tar.gz
open-iov-8d081d5709c1cb2d19ee3df0648225de9187c226.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