Date: Mon, 29 Feb 2016 16:46:39 -0500 From: "George Neville-Neil" <gnn@neville-neil.com> To: "hiren panchasara" <hiren@strugglingcoder.info> Cc: freebsd-dtrace@freebsd.org, sbruno@FreeBSD.org Subject: Re: Functions not getting picked up by dtrace Message-ID: <416C8E5D-AE79-4D62-8DE9-ED277E942F5C@neville-neil.com> In-Reply-To: <20160229213933.GE82027@strugglingcoder.info> References: <20160229213933.GE82027@strugglingcoder.info>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlbUvEAACgkQYdh2wUQKM9JVUgCgtAY0sPH8ZoPZJmcFiSgY3QRI RfYAn1A6Vrrvl7J2IX6sxotoSNZ1qrQf =O0M6 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416C8E5D-AE79-4D62-8DE9-ED277E942F5C>
