In testing the code that you sent I did find a slight problem. It did
not work with the STACKDEPTHBASE definition. However, I defined a
variable

self->mydepth[probemod, ustackdepth] = ustackdepth;

This gets defined when self->func[probemod, ustackdepth] gets defined
and zeroed when self->func gets zeroed.

THen instead of testing the depth at ustackdepth == STACKDEPTHBASE (or
>) I tested the appropriate level as

!self->mydepth[probemod, ustackdepth-1] to identify the first entry in
the list and

!self->mydepth[probemod, ustackdepth] to identify the return to the
top most level.

Similarly,

-- 
       Sabba     -          סבא הלל        -     Hillel
Hillel (Sabba) Markowitz | Said the fox to the fish, "Join me ashore"
 sabbahil...@gmail.com | The fish are the Jews, Torah is our water
http://photos1.blogger.com/blogger/7637/544/640/SabbaHillel.jpg
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to