Date: Mon, 25 Jun 2001 16:09:32 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_ktr.c src/sys/sys ktr.h Message-ID: <200106252309.f5PN9Wn65534@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/06/25 16:09:32 PDT
Modified files:
sys/kern kern_ktr.c
sys/sys ktr.h
Log:
- Replace the unused KTR_IDLELOOP trace class with a new KTR_WITNESS trace
class to trace witness events.
- Make the ktr_cpu field of ktr_entry be a standard field rather than one
present only in the KTR_EXTEND case.
- Move the default definition of KTR_ENTRIES from sys/ktr.h to
kern/kern_ktr.c. It has not been needed in the header file since KTR
was un-inlined.
- Minor include cleanup in kern/kern_ktr.c.
- Fiddle with the ktr_cpumask in ktr_tracepoint() to disable KTR events
on the current CPU while we are processing an event.
- Set the current CPU inside of the critical section to ensure we don't
migrate CPU's after the critical section but before we set the CPU.
Revision Changes Path
1.21 +18 -15 src/sys/kern/kern_ktr.c
1.11 +7 -10 src/sys/sys/ktr.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106252309.f5PN9Wn65534>
