Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Sat Jun 29 13:03:02 UTC 2024

Modified Files:
        src/external/cddl/osnet/sys/kern: opensolaris.c
        src/external/cddl/osnet/sys/sys: sdt.h
        src/sys/kern: kern_sdt.c
        src/sys/sys: sdt.h

Log Message:
sys/sdt.h: Define SET_ERROR(err) macro in sys/sdt.h.

err must be an errno(3) EFOO constant.  SET_ERROR(err) yields err,
with a dtrace probe sdt:::set-error(err), so you have a better chance
of finding where EFOO first turned up in some twisty maze of kernel
logic.

Don't limit this to the opensolaris source compat layer -- this will
enable us to use it throughout the regular kernel sources, not just
zfs.

PR kern/58378

XXX kernel revbump -- moves sdt:::set-error probe symbol definition
from solaris.kmod to main netbsd kernel


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/cddl/osnet/sys/kern/opensolaris.c
cvs rdiff -u -r1.9 -r1.10 src/external/cddl/osnet/sys/sys/sdt.h
cvs rdiff -u -r1.3 -r1.4 src/sys/kern/kern_sdt.c
cvs rdiff -u -r1.23 -r1.24 src/sys/sys/sdt.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index