On Wed, Jun 11, 2008 at 11:45:05AM -0400, James Carlson wrote: > Andrew Gallatin writes: > > Just that that the second snippet seems to be rather > > recursive (this->mp = this->mp->b_cont) and it seems > > to work, and is a nice alternative to enumerating > > all the potential chains as was suggested. > > > > Maybe I'm thinking of things incorrectly.. > > It's not recursive; it's sequential. The instructions are executed in > the order they appear. There are no places where it jumps "backwards" > or reconsiders an earlier probe point based on what a later one says.
What might seem recursive is that the same variable names work in each case. Think of this as "unrolled recursion." _______________________________________________ dtrace-discuss mailing list [email protected]
