[dtrace-discuss] Accessing variables in shared libraries
Seth Goldberg
Seth.Goldberg at Sun.COM
Mon Jul 2 13:21:27 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.
That would be a bummer, but would be fine, if only the error message were
better (and yes, I can file a bug on that if n one is aware of a preexisting,
similar one -- a bug query didn't reveal anything close though, but we all
know how efficient the full text search is).
--S
More information about the dtrace-discuss
mailing list