From owner-freebsd-dtrace@freebsd.org Mon Feb 29 21:46:56 2016 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 539E5AB8A01 for ; Mon, 29 Feb 2016 21:46:56 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from smtp.hungerhost.com (smtp.hungerhost.com [216.38.51.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31C001EE6; Mon, 29 Feb 2016 21:46:56 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mobile-107-107-56-114.mycingular.net ([107.107.56.114]:9507 helo=[172.20.10.2]) by vps.hungerhost.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.86) (envelope-from ) id 1aaVeN-0002eR-QG; Mon, 29 Feb 2016 16:46:43 -0500 From: "George Neville-Neil" To: "hiren panchasara" Cc: freebsd-dtrace@freebsd.org, sbruno@FreeBSD.org Subject: Re: Functions not getting picked up by dtrace Date: Mon, 29 Feb 2016 16:46:39 -0500 Message-ID: <416C8E5D-AE79-4D62-8DE9-ED277E942F5C@neville-neil.com> In-Reply-To: <20160229213933.GE82027@strugglingcoder.info> References: <20160229213933.GE82027@strugglingcoder.info> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_MailMate_CA4D5EDB-6773-4675-B7DB-A93BB1C07BA8_="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Mailer: MailMate (1.9.4r5226) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com X-Authenticated-Sender: vps.hungerhost.com: gnn@neville-neil.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 21:46:56 -0000 This is an OpenPGP/MIME signed message (RFC 3156 and 4880). --=_MailMate_CA4D5EDB-6773-4675-B7DB-A93BB1C07BA8_= Content-Type: text/plain On 29 Feb 2016, at 16:39, hiren panchasara wrote: > I've seen this earlier with others too but this one is the latest > confusing me: em_xmit() in $src/dev/e1000/if_em.c > > Other functions with similar signature are listed in 'dtrace -l'. > > Is is because of some optimization? How do I undo it for testing > purposes? > > Cheers, > Hiren static int em_xmit(struct tx_ring *txr, struct mbuf **m_headp) Remove "static" and rebuild. Best, George --=_MailMate_CA4D5EDB-6773-4675-B7DB-A93BB1C07BA8_= Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlbUvEAACgkQYdh2wUQKM9JVUgCgtAY0sPH8ZoPZJmcFiSgY3QRI RfYAn1A6Vrrvl7J2IX6sxotoSNZ1qrQf =O0M6 -----END PGP SIGNATURE----- --=_MailMate_CA4D5EDB-6773-4675-B7DB-A93BB1C07BA8_=--