ddb(4): Add 'show badstacks' command to show witness badstacks
authorcem <cem@FreeBSD.org>
Sat, 23 Sep 2017 17:48:49 +0000 (17:48 +0000)
committercem <cem@FreeBSD.org>
Sat, 23 Sep 2017 17:48:49 +0000 (17:48 +0000)
commit795d0e91a564434b04d2501d1bd60393a9e5ff60
tree0bca6632a2eb51dde37223d7978d479668477123
parent91577f3772bb66635aa99a7850e3899b21b8dcce
ddb(4): Add 'show badstacks' command to show witness badstacks

Add a DDB command that mirrors sysctl debug.witness.badstacks.

Reapply r323935 after fixing trivial deficiency.  I forgot to compile with
WITNESS enabled.  Thanks emaste@ for fixing the build while I was asleep.

Reported by: rstone
Reviewed by: rstone (previous version)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12468
sys/kern/subr_witness.c