DTrace for FreeBSD - fbt output

John Baldwin jhb at freebsd.org
Wed Jun 14 14:25:55 UTC 2006


On Wednesday 14 June 2006 05:54, John Birrell wrote:
> > > critical_enter                                           4364385478
> > > critical_exit                                            4364385478
> 
> The points I wanted to make about these calls are:
> 
> 1. critical_enter is called so often that the debug printf that /could/
>    be compiled into it should cause an increase in global warming if
>    you tried. 8-)

No, it's not a printf to the console it's a printf into the a circular
buffer (see options KTR) and the system has been run with it enabled w/o
burning the machine up. :)

-- 
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-current mailing list