Re: KTR ?



Le 26 juil. 06 à 13:29, Olivier Warin a écrit :

Hi,

FreeBSD 7.0-CURRENT (LSD_SMP) #0: Sun Jul 16 10:39:02 CEST 2006

daffy@gw:~ %> sysctl debug.ktr -[11:21]-
debug.ktr.alq_enable: 1
debug.ktr.alq_file: /tmp/ktr.out
debug.ktr.alq_depth: 32768
debug.ktr.alq_failed: 0
debug.ktr.alq_cnt: 0
debug.ktr.alq_max: 0
debug.ktr.clear: 0
debug.ktr.version: 2
debug.ktr.entries: 32768
debug.ktr.compile: 536871424
debug.ktr.mask: 1
debug.ktr.cpumask: -1

/tmp/ktr.out is empty & nothing is printed out on console when alq_enable is set to 0.
Is does not work neither with UP nor SMP kernel. What am I missing ?

Sorry for this e-mail, I forgot to set debug.ktr.mask which only log KTR_GEN by default.
Now, everything seems to work as expected.

--
Olivier Warin


_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • KTR ?
    ... daffy@gw:~ %> sysctl debug.ktr ... /tmp/ktr.out is empty & nothing is printed out on console when alq_enable is set to 0. ... Olivier Warin ...
    (freebsd-current)
  • [2.4.x, 2.6 problem] registering of empty /proc/sys dirs leads to leaving pointers to freed memory
    ... (sent to linux-kernel and grsecurity dev) ... Yesterday I got an Oops on somewhat patched 2.4.20 when trying to run ... sysctl_init() in kernel/sysctl.c registers some sysctl tables ... and unregister_proc_tableremoves empty, not used ...
    (Linux-Kernel)
  • Cannot grant ControlPrincipal permission
    ... If I run the application locally, nothing happens, this is actually the expected behaviour for an empty console application. ... If I remove my code group, the evaluate assembly tool tells me that I have no grant on Principal Control and unrestricted access. ...
    (microsoft.public.dotnet.security)
  • Re: empty RECYCLE BIN without confirmation
    ... I have attached to this post a console application that I have just built ... how i can empty recycle bin without confirmation. ...
    (microsoft.public.windowsxp.general)
  • Re: [opensuse] Xen Adventure
    ... Jerry Houston wrote: ... That got me booted to a console, with only part of a file system, an empty /bin directory, and no X server. ...
    (SuSE)