]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sys: add conf/std.debug, generic debugging options
authorLexi Winter <lexi@le-Fay.ORG>
Tue, 23 Apr 2024 21:11:24 +0000 (15:11 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 23 Apr 2024 21:13:31 +0000 (15:13 -0600)
commit4f8f9d708e6a4143f3b178bfab10d0a9b75ba2fe
tree3eee6163fe9e42b6fc3f6f8822e673f688bd0477
parent93c5ba5a83d6e23329e9ca9b9ed72eea613b611d
sys: add conf/std.debug, generic debugging options

The new sys/conf/std.debug contains the list of debugging options
enabled by default in -CURRENT, so they don't need to be listed
individually in every kernel config.

The enabled options are the set of all debug options which were enabled
for the GENERIC kernel on any platform.  This means some architectures
now have debugging options enabled in GENERIC which weren't previously
enabled:

- amd64: [1]
- arm64: [2]
- arm: [2]. [3]
- i386: [1], [2]
- powerpc: [1], [2], [3]
- riscv: [2]

[1] ALT_BREAK_TO_DEBUGGER is now enabled.
[2] BUF_TRACKING, FULL_BUF_TRACKING, and QUEUE_MACRO_DEBUG_TRASH are now
    enabled.
[3] DEADLKRES is now enabled.

While here, move the documentation for the (commented out) K*SAN options
for amd64 from GENERIC to NOTES.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1124
15 files changed:
sys/amd64/conf/GENERIC
sys/amd64/conf/MINIMAL
sys/amd64/conf/MINIMAL-NODEBUG [new file with mode: 0644]
sys/amd64/conf/NOTES
sys/arm/conf/std.armv6
sys/arm/conf/std.armv7
sys/arm64/conf/std.arm64
sys/conf/std.debug [new file with mode: 0644]
sys/i386/conf/GENERIC
sys/i386/conf/MINIMAL
sys/i386/conf/MINIMAL-NODEBUG [new file with mode: 0644]
sys/powerpc/conf/GENERIC
sys/powerpc/conf/GENERIC64
sys/powerpc/conf/GENERIC64LE
sys/riscv/conf/GENERIC