summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/oneshot_gdb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/guest-diag/oneshot_gdb.sh')
-rw-r--r--tools/guest-diag/oneshot_gdb.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/guest-diag/oneshot_gdb.sh b/tools/guest-diag/oneshot_gdb.sh
index 9161ee4..c272acc 100644
--- a/tools/guest-diag/oneshot_gdb.sh
+++ b/tools/guest-diag/oneshot_gdb.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# oneshot_gdb.sh <pid> - catch the client's USERSPACE spin (state R and
# /proc/<pid>/syscall == "running"; a kernel busy-wait shows its syscall
# number). Fires gdb ONCE, dumps all threads, detaches, CONTs.