diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-08-21 13:15:22 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-10-10 18:28:33 +0000 |
| commit | bbfd52dcbeb7b6e540220b3b24b664df6d200200 (patch) | |
| tree | a357569443e08df8d9cd79fc3026e3224c295591 /packages/Python/lldbsuite/test/functionalities/data-formatter/(public-mirror) | |
| parent | 9820afb99e6fdc471cb820f321530c52ed2c31ac (diff) | |
LinuxKPI by default tells witness to ignore the locks, which is
unhelpful in case of panics like 'panic: sleeping thread holds lnxspin'.
While I have edited the lock initialitzation manually in the past,
make this dependent on both LINUXKPI_DEBUG and WITNESS.
Define an internal _LKPI_MTX_NOWITNESS (and equivalent for other lock
types used) and set them accordingly in kconfig.h, a file automatically
included to all LinuxKPI compiled code (like global.h). (*)
In addition, in the debug case, also define WITNESS_ALL to get file,
line, and lock name as a lock name rather than just, e.g., lnxspin.
(*) We will need another follow-up as -include ordering is currently
wrong for LinuxKPI modules. See D60207.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: dumbbell
Differential Revision: https://reviews.freebsd.org/D59231
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/data-formatter/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
