cvs commit: src/sys/conf options src/sys/kern lwkt_token.c

Matthew Dillon dillon at apollo.backplane.com
Mon Jun 20 07:47:12 PDT 2005


:>   Log:
:>   Add a DEBUG_TOKENS option which causes token operations to be logged to
:>   a static array, suitable for post-morten investigation.
:
:ktr(4) ?
:
:Joerg

    Yup, I'll probably convert it.  I need to modify it somewhat to support
    a better abstraction, though.  A management pointer needs to be passed
    instead of 'mask and format' so each tracepoint can be properly
    identified.  A 'caller' also needs to be recorded, going up the frame
    pointer chain, and the 'argument' abstraction needs a lot of help.  That
    probably should be abstracted to a var-args pass-by-value structure
    instead of six discrete arguments.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Commits mailing list