Functions not getting picked up by dtrace
George Neville-Neil
gnn at neville-neil.com
Mon Feb 29 21:46:56 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-dtrace/attachments/20160229/cabd3d98/attachment.sig>
More information about the freebsd-dtrace
mailing list