Adam Leventhal wrote:
> When you run dtrace -G it places nops at the probe sites. One of those nops
> will then be replaced with a trap instruction when the probe is enabled by
> your D script.

Thanks for the reply. And how does dtrace keep track of which address to 
replace for a given probe ?

> I've been meaning to write up a blog entry describing how USDT works, but
> I've been afraid that only James McIlree and I would find it interesting.

I would too :)

Rafael

> 
> Adam
> 
> On Mon, Jun 16, 2008 at 09:34:26PM +0100, Rafael Vanoni wrote:
>> I was looking at some assembly on mdb and noticed that calls to 
>> DTRACE_PROBE1() were seen as ~5 nops.
>>
>> Could anyone explain me why's that ?
>>
>> thanks
>> Rafael
>> _______________________________________________
>> dtrace-discuss mailing list
>> [email protected]
> 

_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to