cvs commit: src/sys/sys ktr.h src/sys/conf options src/sys/kern kern_ktr.c src/sys/i386/conf LINT

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jun 21 12:39:25 PDT 2005


On Mon, Jun 20, 2005 at 10:59:33AM -0700, Matthew Dillon wrote:
>   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.

It is also not correct :( Now you can't log multiple arguments at all,
since putting the stack pointer into the KTR log means that we can't
correctly dump it later. The stack frame could have been overwritten
in the mean time, actually that's very likely.

That's why the original macros have been needed for. It can be safely
used only with one argument.

Joerg





More information about the Commits mailing list