]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add custom debug printing for your asserts
authorRich Ercolani <214141+rincebrain@users.noreply.github.com>
Wed, 10 Apr 2024 20:30:25 +0000 (16:30 -0400)
committerGitHub <noreply@github.com>
Wed, 10 Apr 2024 20:30:25 +0000 (13:30 -0700)
commite5e2a5a3b872e618af585f1a8cec4782c6f2cfe1
treede1a840176790334edc599f3a348f6d141e4d70c
parentd98973dbdd5a85b6c8a8556d5bd5c9903e2d2ee6
Add custom debug printing for your asserts

Being able to print custom debug information on assert trip
seems useful.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #15792
include/os/freebsd/spl/sys/debug.h
include/os/linux/spl/sys/debug.h
lib/libspl/include/assert.h
module/zfs/arc.c