Hi,

If the binary being traced has static symbols in its symbol table, DTrace should
be able to trace the function. Can you describe the example where you found this
difference in FreeBSD and OSX?

rgds
Prashanth
--------------------------------------------
On Fri, 7/3/14, Daniel O'Connor <[email protected]> wrote:

 Subject: dtracing static symbols
 To: [email protected]
 Date: Friday, 7 March, 2014, 11:19 AM
 
 Hi,
 I have been experimenting with DTrace on 9.2 and I was
 wondering if there was some way to trace static symbols in
 binaries?
 
 I did some testing on OSX and apparently Solaris can also do
 it but not [yet?] FreeBSD.
 
 Unfortunately I haven't had much luck finding the code which
 does it in Solaris (so I can't check if it's in a later
 version of FreeBSD).
 
 Thanks.
 
 --
 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
 
 
 
 
 
 
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to