diff options
author | alfred <alfred@FreeBSD.org> | 2012-12-07 08:25:08 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2012-12-07 08:25:08 +0000 |
commit | d4467dc03357aa391339c667b9bce1af3f0455d9 (patch) | |
tree | fab5837c8f1e49abf80db64a5d10640b8f20d4d4 /contrib/bind9/lib/isc/pthreads/condition.c | |
parent | 68ccd141543e215ba4e1b27ab232419cf360cfaf (diff) | |
download | FreeBSD-src-d4467dc03357aa391339c667b9bce1af3f0455d9.zip FreeBSD-src-d4467dc03357aa391339c667b9bce1af3f0455d9.tar.gz |
Allow KASSERT to log instead of panic.
This is to allow debug images to be used without taking down the
system when non-fatal asserts are hit.
The following sysctls are added:
debug.kassert.warn_only: 1 = log, 0 = panic
debug.kassert.do_ktr: set to a ktr mask for logging via KTR
debug.kassert.do_log: 1 = log, 0 = quiet
debug.kassert.warnings: stats, number of kasserts hit
debug.kassert.log_panic_at:
number of kasserts before we actually panic, 0 = never
debug.kassert.log_pps_limit: pps limit for log messages
debug.kassert.log_mute_at: stop warning after N kasserts, 0 = never stop
debug.kassert.kassert: set this sysctl to trigger a kassert
Discussed with: scottl, gnn, marcel
Sponsored by: iXsystems
Diffstat (limited to 'contrib/bind9/lib/isc/pthreads/condition.c')
0 files changed, 0 insertions, 0 deletions