Date: Wed, 12 Mar 2014 15:23:55 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Mark Johnston <markj@freebsd.org> Cc: Robert Mustacchi <rm@joyent.com>, "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org> Subject: Re: dtracing static symbols Message-ID: <8848829A-0520-4602-9D8B-1260E0FD9A87@gsoft.com.au> In-Reply-To: <CAMw1wOw11McV5r69MTafX5vRnPVm-jdApLcMOUQuD_A6btpO=Q@mail.gmail.com> References: <1394599542.80116.YahooMailBasic@web192602.mail.sg3.yahoo.com> <DAFA24CE-0318-4455-9EE3-C8617BBE7D0B@gsoft.com.au> <CAMw1wOw11McV5r69MTafX5vRnPVm-jdApLcMOUQuD_A6btpO=Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_00D1FADF-1C5C-4564-8585-FC5FF2625082 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 12 Mar 2014, at 15:22, Mark Johnston <markj@freebsd.org> wrote: > On Wed, Mar 12, 2014 at 12:50 AM, Daniel O'Connor = <doconnor@gsoft.com.au> wrote: >>=20 >> On 12 Mar 2014, at 15:15, Prashanth Kumar <pra_udupi@yahoo.co.in> = wrote: >>> If you run >>> # env DTRACE_DEBUG=3D1 dtrace -Ppid\$target -l -c ./static >>> you will notice that lot of probe creation will fail, also no probes = are created for instruction offsets. >>> you will have to update the libproc library and fasttrap code to = trace all the >>> functions. >>=20 >> I don't really care about the function offsets, just static = functions. >>=20 >> Or are you suggesting updating libproc and the fasttrap code will = allow that (as well as instruction offsets)? >=20 > I'd suggest updating to 9-STABLE. There have been quite a few fixes to > fasttrap and libproc since 9.2. OK, I'll give it a try. Have things change substantially in 10? Updating to that is probably = going to be as easy (famous last words :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --Apple-Mail=_00D1FADF-1C5C-4564-8585-FC5FF2625082 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iD8DBQFTH+hj5ZPcIHs/zowRAnYaAJ4p/R5bpLPTVNlyEzrrraEs+MA/LgCbBzMD lAJwX5sepmdvojJvxtsOUME= =Q9Y+ -----END PGP SIGNATURE----- --Apple-Mail=_00D1FADF-1C5C-4564-8585-FC5FF2625082--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8848829A-0520-4602-9D8B-1260E0FD9A87>