vm/vmimpl: Don't show ktr, but uma on FreeBSD

Right now, kernels are not build with KTR support, so don't
run show ktr. Add showing information about zones like vmstat -z
would show.
This commit is contained in:
Michael Tuexen 2020-05-12 09:50:51 +02:00 committed by Dmitry Vyukov
parent 160c769827
commit 64d61b4117

View File

@ -22,7 +22,7 @@ func DiagnoseFreeBSD(w io.Writer) ([]byte, bool) {
"ps",
"show all locks",
"show malloc",
"show ktr",
"show uma",
}
for _, c := range commands {
w.Write([]byte(c + "\n"))