On Mon, Oct 20, 2008 at 11:39 PM, michael schuster
<[EMAIL PROTECTED]> wrote:
> Yasufumi CHIDA wrote:
>> Hello, super dtrace masters,
>>
>> When I use Dscripts in which ustack() is involved,
>> it sometimes output the stacktrace with their names of the functions,
>> but sometime not.
>>
>> I'm confused because of these inconsistent results.
>> Does anyone know this reason?
>
> most likely, you're seeing the effects of aynchronous post-processing of an
> event: data is recorded when the probe fires, but only post-processed
> (converting adresses to names, among other things) later. If the process
> under inspection has gone away by the time post-processing happens, there's
> nothing to get the names from, and all you see is addresses.

Actually, could you give a little more detail?  (Yasufumi, not Michael.)

Specifically, are you getting inconsistent results from the same
process or program?  Or are you getting inconsistent results from
different processes/programs?  If it's the former, then Michael's
answer makes sense.  If it's the latter, then it may be simpler than
that -- some of the processes may be stripped, in which case you'd
have no symbol data to use for translating function addresses.

Chad
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to