kernel - Stop KTR logging during panic
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 16 Aug 2012 16:11:07 +0000 (09:11 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 16 Aug 2012 16:11:07 +0000 (09:11 -0700)
commitab1b43851c7b5160ad787019355b96f56534c39a
tree966850a931005039161fcc75c6b46c670a38eccc
parentc55c2701d07bdc4d1cb27c251a7ee43ed49e9c25
kernel - Stop KTR logging during panic

* Stop all KTR logging when a panic occurs so the KTR buffer doesn't
  get wiped out by events during the panic & core dump.  This gives
  us a KTR buf snapshot as of the panic entry.
sys/kern/kern_ktr.c