summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/push_guest_tools.sh
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-29 16:57:09 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-29 16:57:09 -0400
commitba730fbfc60cc0270539316f396d7efc42596660 (patch)
tree2df3b85ad42cacdbb523eb2b54446586a78fd117 /tools/guest-diag/push_guest_tools.sh
parente970f1617f383f8f3a66ef02f12ac609da87fe9e (diff)
downloadopen-iov-ba730fbfc60cc0270539316f396d7efc42596660.tar.gz
open-iov-ba730fbfc60cc0270539316f396d7efc42596660.zip
guest-diag: per-thread kernel stack sampler for the CUDA client
The failing wait can live in a libcuda worker thread (strace without -f misses it); sample every /proc/<pid>/task/*/stack + wchan while the client runs.
Diffstat (limited to 'tools/guest-diag/push_guest_tools.sh')
-rwxr-xr-xtools/guest-diag/push_guest_tools.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/guest-diag/push_guest_tools.sh b/tools/guest-diag/push_guest_tools.sh
index 5e331e5..58ebdb3 100755
--- a/tools/guest-diag/push_guest_tools.sh
+++ b/tools/guest-diag/push_guest_tools.sh
@@ -36,6 +36,7 @@ push_b64 "$HERE/guest_pmap.py" /tmp/guest_pmap.py
push_b64 "$HERE/guest_pmap_win.py" /tmp/guest_pmap_win.py
push_b64 "$HERE/guest_pin_stream.py" /tmp/guest_pin_stream.py
push_b64 "$HERE/track_waits.sh" /tmp/track_waits.sh
+push_b64 "$HERE/stack_sampler.sh" /tmp/stack_sampler.sh
push_b64 "$HERE/guest_kprobes.sh" /tmp/kprobes.sh
echo "[*] compiling in guest..."