summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_ktr.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix SMP kernel compiles by #include'ing machine/globals.h to get thejhb2000-11-101-0/+1
| | | | cpuid variable.
* - Remove much of the inlining of the KTR tracepoints into a ktr_tracepoint()jhb2000-11-071-2/+86
| | | | | | | | | | | | | | | | | | function declared in kern_ktr.c. The only inline checks left are the checks that compare KTR_COMPILE with the supplied mask and thus should be optimized away into either nothing or a direct call to ktr_tracepoint(). - Move several KTR-related options to opt_ktr.h now that they are only needed by kern_ktr.c and not by ktr.h. - Add in the ktr_verbose functionality if KTR_EXTEND is turned on. If the global variable 'ktr_verbose' is non-zero, then KTR messages will be dumped to the console. This variable can be set by either kernel code or via the 'debug.ktr_verbose' sysctl. It defaults to off unless the KTR_VERBOSE kernel option is specified in which case it defaults to on. This can be useful when the machine locks up spinning in a loop with interrupts disabled as you might be able to see what it is doing when it locks up. Requested by: phk
* Add KTR, a facility that logs kernel events in order to to facilitatejasone2000-09-071-0/+64
debugging. Acquired from: BSDi (BSD/OS) Submitted by: dfr, grog, jake, jhb
OpenPOWER on IntegriCloud