Skip site navigation (1)Skip section navigation (2)
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
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_=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416C8E5D-AE79-4D62-8DE9-ED277E942F5C>