Searched hist:"70 f2356d364fdb7e2ff5487ae03125a338defd54" (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/cam/ |
H A D | cam_debug.h | diff 70f2356d364fdb7e2ff5487ae03125a338defd54 Thu Nov 02 21:41:09 CET 2023 Warner Losh <imp@FreeBSD.org> cam: Make cam_debug macros atomic
The CAM_DEBUG* macros use multiple printfs to dump the data. This is suboptimal when tracing things that produce even a moderate amount since it gets intertwingled. I can't even turn on tracing with a 24-disk HBA on boot without it getting messed up. Add helper routines to work around clang's over-use of the stack: that way we only pay the stack penalty when a trace hits.
Sponsored by: Netflix Reviewed by: ken, mav Differential Revision: https://reviews.freebsd.org/D42411
|
H A D | cam_xpt.h | diff 70f2356d364fdb7e2ff5487ae03125a338defd54 Thu Nov 02 21:41:09 CET 2023 Warner Losh <imp@FreeBSD.org> cam: Make cam_debug macros atomic
The CAM_DEBUG* macros use multiple printfs to dump the data. This is suboptimal when tracing things that produce even a moderate amount since it gets intertwingled. I can't even turn on tracing with a 24-disk HBA on boot without it getting messed up. Add helper routines to work around clang's over-use of the stack: that way we only pay the stack penalty when a trace hits.
Sponsored by: Netflix Reviewed by: ken, mav Differential Revision: https://reviews.freebsd.org/D42411
|
H A D | cam_xpt.c | diff 70f2356d364fdb7e2ff5487ae03125a338defd54 Thu Nov 02 21:41:09 CET 2023 Warner Losh <imp@FreeBSD.org> cam: Make cam_debug macros atomic
The CAM_DEBUG* macros use multiple printfs to dump the data. This is suboptimal when tracing things that produce even a moderate amount since it gets intertwingled. I can't even turn on tracing with a 24-disk HBA on boot without it getting messed up. Add helper routines to work around clang's over-use of the stack: that way we only pay the stack penalty when a trace hits.
Sponsored by: Netflix Reviewed by: ken, mav Differential Revision: https://reviews.freebsd.org/D42411
|