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>
Tue, 21 Aug 2012 03:59:12 +0000 (20:59 -0700)
commit1ecd457f72707d1dd6302a104d25bd9f6c74344b
tree01bc863477314551de97344bc80981ec97fa135a
parentf5e3dacfcb9647d13edda3586dd637318a18149c
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