KTR not working !!

Pranav Peshwe pranavpeshwe at gmail.com
Wed Jan 25 00:35:03 PST 2006


Hello,
         I recompiled the kernel with KTR (4) support.But i could find
the logged messages nowhere ! When i use 'ktrdump' on the console ,the
ouput is :

index  trace
------ -----

When i try to view the logging from DDB by issuing 'show ktr', only a
message saying  '--- End of trace buffer ---'  is displayed.

I paste a portion (related to debugging options) of the config file i
used, to recompile the kernel.

#-----
options 	KTR				
options 	KTR_ENTRIES=8192
options 	KTR_VERBOSE

options		INVARIANTS
options 	INVARIANT_SUPPORT
options 	WITNESS						
options 	WITNESS_KDB

options         KDB
options         KDB_TRACE
options         DDB
options         GDB
options	BREAK_TO_DEBUGGER
#-----

   Am i missing something very important ? How can i view the
information logged by the various CTR[0-5] macros used in the kernel
source ?

TIA.

Regards,
Pranav

---------------------------------------------------------------------------
Heisenberg is out for a drive when he's stopped by a traffic cop.
The cop says: "Do you know how fast you were going?"
Heisenberg replies: "No,but I know where I am"


More information about the freebsd-hackers mailing list