KTR not working !!

John Baldwin jhb at freebsd.org
Wed Jan 25 06:56:13 PST 2006


On Wednesday 25 January 2006 03:58, Pranav Peshwe wrote:
> On 1/25/06, Joseph Koshy <joseph.koshy at gmail.com> wrote:
> > > #-----
> > > options         KTR
> > > options         KTR_ENTRIES=8192
> > > options         KTR_VERBOSE
> >
> > ...
> >
> > >   Am i missing something very important ?
> >
> > What is the value of sysctl debug.ktr.mask?
>
> Hello,
>         Currently the value is 4608.I tried it setting to 0x3fffffff
> i.e KTR_ALL. But still did not work.
> Other KTR related values are :
>
> debug.ktr.cpumask: -1
> debug.ktr.mask: 1073741823
> debug.ktr.compile: 1

You only have KTR_GEN traces compiled in.  Try adding 'KTR_COMPILE=KTR_ALL'  
If you run with all traces enabled your system is going to get really really 
slow though.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-hackers mailing list