diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2019-09-25 18:26:31 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2019-09-25 18:26:31 +0000 |
commit | dd902d015a202e4cabb8fdadd307ec9a3dc38251 (patch) | |
tree | ca15ad85e373523316f0455e26d4c94b780efacc /sys/conf/options | |
parent | a9ac5e142408d3228694aea197d9f77e643ab015 (diff) | |
download | src-dd902d015a202e4cabb8fdadd307ec9a3dc38251.tar.gz src-dd902d015a202e4cabb8fdadd307ec9a3dc38251.zip |
Add debugging facility EPOCH_TRACE that checks that epochs entered are
properly nested and warns about recursive entrances. Unlike with locks,
there is nothing fundamentally wrong with such use, the intent of tracer
is to help to review complex epoch-protected code paths, and we mean the
network stack here.
Reviewed by: hselasky
Sponsored by: Netflix
Pull Request: https://reviews.freebsd.org/D21610
Notes
Notes:
svn path=/head/; revision=352707
Diffstat (limited to 'sys/conf/options')
-rw-r--r-- | sys/conf/options | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options index 6957a2d236ef..875a3bc461e0 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -712,6 +712,8 @@ WITNESS_SKIPSPIN opt_witness.h WITNESS_COUNT opt_witness.h OPENSOLARIS_WITNESS opt_global.h +EPOCH_TRACE opt_epoch.h + # options for ACPI support ACPI_DEBUG opt_acpi.h ACPI_MAX_TASKS opt_acpi.h |