On Wed, Dec 16, 2009 at 2:44 PM, Chad Mynhier <cmynh...@gmail.com> wrote:

> Actually, there's a bug in the above.  For this case:
>
> -> A
>    -> B
>        -> C
>        <- C
>    <- B
> <- A
>
> The time for B will include the time spent in C, and the time for A
> will include the entire time.

Actually, the initial tests that I am running do want to show the
total time, including what is in the lower levels.  The second set of
tests would use the fix you just included.

However, what I am worried about is a set where

->A
  ->B
     ->C
     <-C
   <-B
<-A


->D
  ->C
 <-C
<-D

This would seem to not aggregate the C as the ustackdepth for the two
usages of C would be different. In this case, I do want to have the
counts aggregated.
What I want to handle is the case


->A
  ->A
    ->A
    <-A
   <-A
<-A

That is the case that actually wiped out what happened before. How do
I handle this? The fix that you just sent me would seem to handle it,
but how do I see the difference between the two cases?


-- 
       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