aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@fh-muenster.de>2025-05-28 12:50:27 +0200
committerMichael Tüxen <tuexen@freebsd.org>2025-05-28 14:48:26 +0000
commit3d2f584ddab119da50e8a8d26765aa98d3b33c02 (patch)
tree7e420a4bbb1a05003fbd35be37e09b1db9b2cddb /vm
parent874a1386706482fe473dfe96f8a3acc52c1b2ba1 (diff)
vm/vmimpl: show all locked tcpcbs
Add a command to show all locked TCP control blocked. If a panic is related to the TCP stack, most likely the affected TCP control block is locked. Therefore, this is show. This is much less noisy than showing all TCP control blocks.
Diffstat (limited to 'vm')
-rw-r--r--vm/vmimpl/freebsd.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/vmimpl/freebsd.go b/vm/vmimpl/freebsd.go
index 8a75e04c5..4272781ff 100644
--- a/vm/vmimpl/freebsd.go
+++ b/vm/vmimpl/freebsd.go
@@ -23,6 +23,7 @@ func DiagnoseFreeBSD(w io.Writer) ([]byte, bool) {
"show all locks",
"show malloc",
"show uma",
+ "show all tcpcbs/l",
}
for _, c := range commands {
w.Write([]byte(c + "\n"))