[dtrace-discuss] Accessing variables in shared libraries

Seth Goldberg Seth.Goldberg at Sun.COM
Mon Jul 2 15:37:49 PDT 2007



Quoting Jon Haslam, who wrote the following on Mon, 2 Jul 2007:

> Hi Seth,
>
>>> 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).
>> 
>
> We don't have the user-land equivalent of the "`" kernel scoping
> operator. Currently you have to find the address and then use
> that in your copyin(). I'm sure you don't need any references on howto
> but a previous thread can be found at:
>
> http://www.opensolaris.org/jive/message.jspa?messageID=80703
>
> Off the top of my head I don't know whether or not an RFE exists for
> this. It sure needs to though as it gets requested quite a lot.
>

  Thanks, that will at least get me past my current problem!  I'll file an RFE.

  --S


More information about the dtrace-discuss mailing list