From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 21:46:58 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68597106566B for ; Thu, 5 Feb 2009 21:46:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 38B198FC1C for ; Thu, 5 Feb 2009 21:46:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id DB29346B03; Thu, 5 Feb 2009 16:46:57 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n15Lkpoq070777; Thu, 5 Feb 2009 16:46:52 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 5 Feb 2009 13:10:59 -0500 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902051311.00091.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 05 Feb 2009 16:46:52 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/8957/Thu Feb 5 12:31:01 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00, DATE_IN_PAST_03_06 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Klapper Zhu Subject: Re: To John Birrell: weird behaviors of DTrace on amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 05 Feb 2009 21:46:59 -0000 On Thursday 05 February 2009 11:31:52 am Klapper Zhu wrote: > Hi John Birrell, > > I am exploring DTrace on "7.1-STABLE FreeBSD amd64" and I found several > weird behaviors: > > 1) Not all kernel functions show up in fbt provider. Take isp(4) as example: > "dtrace -l" shows > static void isp_freeze_loopdown(ispsoftc_t *, int, char *); > ___but not___ > static void isp_handle_platform_atio2(ispsoftc_t *, at2_entry_t *); > > Both are static functions. But one shows up in fbt, another not. > What's the rational behind it ? Any way to fix it ? Perhaps gcc inlined it? Try using -fno-inline perhaps. -- John Baldwin