[dtrace-discuss] Accessing variables in shared libraries

Nicolas Williams Nicolas.Williams at sun.com
Mon Jul 2 13:13:54 PDT 2007


On Mon, Jul 02, 2007 at 01:11:08PM -0700, Seth Goldberg wrote:
>   That's also OK, if that syntax worked (unless I messed up the syntax).  I 
> have no problem doing something like:
> 
>   printf("%u", *(uint64_t *)copyin(libc.so.1`set_lock_count));

Oh, I see what you mean.  I've no idea if DTrace supports references to
non-function symbols in user-land; I suspect it does not.


More information about the dtrace-discuss mailing list