debug: move all of the debug bits out of the spl

Pull all of the internal debug infrastructure up in to the zfs
code to clean up the layering.  Remove all the dodgy usage of
SET_ERROR and DTRACE_PROBE from the spl.  Luckily it was
lightly used in the spl layer so we're not losing much.

Sponsored-by: https://despairlabs.com/sponsor/
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #17861
This commit is contained in:
Brian Behlendorf
2025-10-30 17:23:27 -07:00
parent eceb5b32e9
commit 801d9b4f96
16 changed files with 71 additions and 82 deletions
-1
View File
@@ -128,7 +128,6 @@ my $untagged_patterns = q(
include/os/freebsd/zfs/sys/zpl.h
include/os/linux/kernel/linux/page_compat.h
lib/libspl/include/sys/string.h
lib/libspl/include/sys/trace_spl.h
lib/libzdb/libzdb.c
lib/libzpool/include/sys/trace_zfs.h
module/lua/setjmp/setjmp.S