cvs commit: src/sys/sys ktr.h src/sys/conf options src/sys/kern kern_ktr.c src/sys/i386/conf LINT
Sascha Wildner
saw at online.de
Mon Jun 20 13:10:39 PDT 2005
Matthew Dillon wrote:
dillon 2005/06/20 10:59:33 PDT
DragonFly src repository
Modified files:
sys/sys ktr.h
sys/conf options
sys/kern kern_ktr.c
sys/i386/conf LINT
Log:
Reimplement the kernel tracepoint facility. The new implementation is
completely generic and very easy to implement in modules. Compile-time
optimizations are retained and sysctl generation is completely automatic.
Only the DDB command code has been retained from FreeBSD.
The logging macros are designed to allow subsystems to trivially declare
and use the facility.
This implementation is not quite complete, we also want to integrate a
stack backtrace logging facility.
Hmm,
the definition of KTR_INFO takes 6 parameters if KTR is defined, and 5
if it isn't.
Sascha
--
http://yoyodyne.ath.cx
More information about the Commits
mailing list