search for: ustackdepth

Displaying 3 results from an estimated 3 matches for "ustackdepth".

Did you mean: stackdepth
2009 Nov 02
5
User process probe. Stack depth and flow indent skips and mismatches.
Hi Folks, I''m trying to use DTrace to understand some complex code using the user process probe. Things are basically not matching up. When I use a variable to track depth, sometimes it jumps. Similarly, the flow indent seems off. I read another post saying that this is caused by missing return statements in functions.
2011 Apr 06
2
Limiting dtrace depth
If I use a simple dtrace script such as this: fbt::somefunc:entry{self->trace=1;} fbt::somefunc:return{self->trace=0;} fbt:::entry{} fbt:::return{printf("%lx", arg1);} then it will descend to whatever depth is necessary If I want to limit it to say 3 functions deep, how can I do that? The quick answer I want to use is to do "self->depth++" on each entry and then
2006 Feb 17
3
CPU time stats
hi, I am trying to find out the avg cpu time spent in each of my user methods (exclusive of other methods invoked by a method). Hence the following snippet failed miserably: ----------------------- pid$target:a.out::entry { time[probefunc] = timestamp;} pid$target:a.out::return { @spent[probefunc] = avg(timestamp - time[probefunc]);} END { printa(@spent);}