From owner-freebsd-current@FreeBSD.ORG Tue Apr 16 20:14:12 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A07D6CA1 for ; Tue, 16 Apr 2013 20:14:12 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2BC151B for ; Tue, 16 Apr 2013 20:14:12 +0000 (UTC) Received: by mail-pa0-f41.google.com with SMTP id kx1so531490pab.0 for ; Tue, 16 Apr 2013 13:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=bgjNr5/Vl0scF5HUs3imj6jTRKhUl/8gLD16lF0Z76g=; b=YrjKRcX7oEYUpzFvGSHawSavMDPEyMKwlpIdk7BztzBx87LY4lSs/BS1pDc4mAcAX8 s9Bu2W1dssln7937SHl1DsH+taFxYV5HKBPN07ZSwL5ETYEnACFkubqqaM2z7blKLNNv hMYZCfnSxZ9+QWjdhUk6kx0kOWur+VrEJuzZMb9FCI9XU9XoJ6/4KOWGQOx23rIti+mS ANVRiNPVz7LQYVb8JGrQPykj6o4P/rg028mHH5u8qfisTL2t6tuKrHY3posm5RREaKyp /95Wmp96K3VefHq8EUHFQ3XGoaNM9zwFIR2EfZ5zGaK5pCOnQmmjIHMWH15XUMi9+AGG 1SkA== X-Received: by 10.66.52.50 with SMTP id q18mr5037392pao.201.1366142770522; Tue, 16 Apr 2013 13:06:10 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPS id t1sm3891207pab.12.2013.04.16.13.06.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 13:06:09 -0700 (PDT) Sender: Navdeep Parhar Message-ID: <516DAF2F.3010107@FreeBSD.org> Date: Tue, 16 Apr 2013 13:06:07 -0700 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130403 Thunderbird/17.0.5 MIME-Version: 1.0 To: Ryan Stone Subject: Re: DTrace gone quiet? References: <516DAD14.9020307@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 20:14:12 -0000 On 04/16/13 13:03, Ryan Stone wrote: > On Tue, Apr 16, 2013 at 3:57 PM, Navdeep Parhar > 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 > > > 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. No luck. trantor:~# dtrace -x bufpolicy=switch -n 'fbt::ether_output:entry' dtrace: description 'fbt::ether_output:entry' matched 1 probe (long fruitless wait here) ^C CPU ID FUNCTION:NAME 4 29354 ether_output:entry 3 29354 ether_output:entry 9 29354 ether_output:entry 3 29354 ether_output:entry