Re: DTrace gone quiet?

From: Mark Johnston <markjdb_at_gmail.com>
Date: Tue, 16 Apr 2013 16:05:47 -0400
On Tue, Apr 16, 2013 at 04:03:06PM -0400, Ryan Stone wrote:
> On Tue, Apr 16, 2013 at 3:57 PM, Navdeep Parhar <np_at_freebsd.org> wrote:
> 
> > I just upgraded my kernel and userspace to head (r249552) and I notice
> > that DTrace doesn't output anything until I hit ctrl-c.  All previous
> > "hits" on the probe appear lost.  For example:
> >
> > # dtrace -n 'fbt::ether_output:entry'
> > dtrace: description 'fbt::ether_output:entry' matched 1 probe
> >
> > (No output here.  I waited a long time before the ctrl-c and I know the
> > system is actively transmitting and receiving Ethernet traffic).
> >
> > ^C
> > CPU     ID                    FUNCTION:NAME
> >   9  29354               ether_output:entry
> >   8  29354               ether_output:entry
> >   8  29354               ether_output:entry
> >   8  29354               ether_output:entry
> >
> >
> > Can anyone confirm or contradict this on a recent HEAD (around r249552
> > in my case)?
> >
> > Regards,
> > Navdeep
> > _______________________________________________
> > freebsd-current_at_freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> >
> 
> Hm, if you run with "-x bufpolicy=switch" does it work?  It sounds as
> through the ring buffer policy is being set by default for you.  I'm not
> sure how that could happen.

I'm seeing it too as of r249508. Adding those arguments doesn't seem to
have any effect.
Received on Tue Apr 16 2013 - 18:06:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC