summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/stack_sampler.sh
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-11 21:08:05 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-11 21:08:05 -0400
commitd2c9054b096e63ca3dd4f890514639f7efd82c3f (patch)
tree14cacf558e6ce39675f6d5f8f516d833043f2e14 /tools/guest-diag/stack_sampler.sh
parent66d7e5f93ed0f3139ba4a6635bf355a4c0052a04 (diff)
downloadopen-iov-d2c9054b096e63ca3dd4f890514639f7efd82c3f.tar.gz
open-iov-d2c9054b096e63ca3dd4f890514639f7efd82c3f.zip
guest-diag: scanner detects arbitrary CUDA clients by nvidia fds
The guest pin scanner only tracked processes whose comm matched CLIENT_PREFIXES (cdt,va,victory). An arbitrary CUDA binary (e.g. /tmp/smiley) was invisible: no pages streamed, no VA->PA pins injected, the service could not read its pushes and the client hung in cudaMalloc/uvm_tracker_wait. Detect compute clients by the CUDA device they hold open (/dev/nvidia-uvm preferred, then any /dev/nvidia*), with the prefix match kept as the first-choice path.
Diffstat (limited to 'tools/guest-diag/stack_sampler.sh')
0 files changed, 0 insertions, 0 deletions