dtracing static symbols

Robert Mustacchi rm at joyent.com
Wed Mar 12 04:52:27 UTC 2014


On 3/11/14 21:50 , Daniel O'Connor wrote:
> 
> On 12 Mar 2014, at 15:15, Prashanth Kumar <pra_udupi at 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



More information about the freebsd-dtrace mailing list