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

Matthew Dillon dillon at apollo.backplane.com
Tue Jun 21 12:59:30 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

    I don't understand the problem.  I am not logging stack pointers, and
    you can log as few or as many arguments as you want, up to the 40 byte
    limit.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Commits mailing list