Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2014 21:52:19 -0700
From:      Robert Mustacchi <rm@joyent.com>
To:        freebsd-dtrace@freebsd.org
Subject:   Re: dtracing static symbols
Message-ID:  <531FE803.9030702@joyent.com>
In-Reply-To: <DAFA24CE-0318-4455-9EE3-C8617BBE7D0B@gsoft.com.au>
References:  <1394599542.80116.YahooMailBasic@web192602.mail.sg3.yahoo.com> <DAFA24CE-0318-4455-9EE3-C8617BBE7D0B@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/11/14 21:50 , Daniel O'Connor wrote:
> 
> On 12 Mar 2014, at 15:15, Prashanth Kumar <pra_udupi@yahoo.co.in> wrote:
>> If you run 
>> # env DTRACE_DEBUG=1 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. 
> 
> I don't really care about the function offsets, just static functions. 
> 
> Or are you suggesting updating libproc and the fasttrap code will allow that (as well as instruction offsets)?

libdtrace uses libproc to iterate and find symbols and addresses to
instrument, at least on illumos.

Robert




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?531FE803.9030702>