HomeFreeBSD

Improve EPOCH_TRACE

Description

Improve EPOCH_TRACE

Two changes to EPOCH_TRACE:
(1) add a sysctl to surpress the backtrace from epoch_trace_report().

Sometimes the log line for the recursion is enough and the
backtrace massively spams the console.

(2) In order to be able to go without the backtrace do not only

print where the previous occurance happened, but also where
the current one happens.  That way we have file:line information
for both and can look at them without the need for getting line
numbers from backtrace and a debugging tool.

Reviewed by: glebius
Sponsored by: Netflix (originally)
Differential Revision: https://reviews.freebsd.org/D22641

Details

Committed
bzDec 6 2019, 4:34 PM
Reviewer
glebius
Differential Revision
D22641: Improve EPOCH_TRACE
Parents
rS355447: Fix compilation issue with mlx5core and sparc64 (gcc48):
Branches
Unknown
Tags
Unknown