svn commit: r332959 - head/sys/kern
John Baldwin
jhb at freebsd.org
Wed Apr 25 18:44:58 UTC 2018
On Tuesday, April 24, 2018 06:54:20 PM Conrad Meyer wrote:
> Author: cem
> Date: Tue Apr 24 18:54:20 2018
> New Revision: 332959
> URL: https://svnweb.freebsd.org/changeset/base/332959
>
> Log:
> panic: Optionally, trace secondary panics
>
> To diagnose and fix secondary panics, it is useful to have a stack trace.
> When panic tracing is enabled, optionally trace secondary panics as well.
>
> The option is configured with the tunable/sysctl debug.trace_all_panics.
>
> (The original concern that inspired only tracing the primary panic was
> likely that the secondary trace may scroll the original panic message or trace
> off the screen. This is less of a concern for serial consoles with logging.
> Not everything has a serial console, though, so the behavior is optional.)
Note that KDB_TRACE is enabled by default, so you would need it to always
default to false to preserve existing behavior by default.
--
John Baldwin
More information about the svn-src-head
mailing list