Searched hist:108682 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11.0-release/sys/kern/
H A Dkern_shutdown.cdiff 108682 Sat Jan 04 20:54:58 MST 2003 phk Introduce the
void backtrace(void);
function which will print a backtrace if DDB is in the kernel and an
explanation if not.

This is useful for recording backtraces in non-fatal circumstances and
does not require pollution with DDB #includes in the files where it
is used.

It would of course be nice to have a non-DDB dependent version too,
but since the meat of a backtrace is MD it is probably not worth it.
/freebsd-11.0-release/sys/sys/
H A Dsystm.hdiff 108682 Sat Jan 04 20:54:58 MST 2003 phk Introduce the
void backtrace(void);
function which will print a backtrace if DDB is in the kernel and an
explanation if not.

This is useful for recording backtraces in non-fatal circumstances and
does not require pollution with DDB #includes in the files where it
is used.

It would of course be nice to have a non-DDB dependent version too,
but since the meat of a backtrace is MD it is probably not worth it.

Completed in 518 milliseconds