aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl/openbsd.go
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@basename.se>2019-01-26 09:09:31 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-26 09:09:31 +0100
commit66ff894ef51e506037882bd6e24e5cc5ec258448 (patch)
tree6baa80b28e7ef17e0ff13d60f3644a9ab2e7a06d /vm/vmimpl/openbsd.go
parentebf7a37c5bba2cd3884e0e05beb99714fbf432e7 (diff)
openbsd: more witness handling
* pkg/report: symbolize witness trace on OpenBSD * vm/vmimpl: show witness locks on panic * vm/vmimpl: show memory stats on panic * fixup! pkg/report: symbolize witness trace on OpenBSD
Diffstat (limited to 'vm/vmimpl/openbsd.go')
-rw-r--r--vm/vmimpl/openbsd.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/vmimpl/openbsd.go b/vm/vmimpl/openbsd.go
index 221e1e4db..c758bd5e4 100644
--- a/vm/vmimpl/openbsd.go
+++ b/vm/vmimpl/openbsd.go
@@ -21,6 +21,9 @@ func DiagnoseOpenBSD(w io.Writer) bool {
"show registers",
"show proc",
"ps",
+ "show all locks",
+ "show malloc",
+ "show all pools",
}
for _, c := range commands {
w.Write([]byte(c + "\n"))