[RFC] [PATCH] Add statement ranges to kernel.statement

Stone, Joshua I joshua.i.stone@intel.com
Sat Jun 21 14:36:00 GMT 2008


Stone, Joshua I wrote:
> > +     if (line_type != WILDCARD && l == lines[1])
> > +       break;
> > +      }
> 
> I think this will break for relative probes, because the incoming
> lines[2] are relative, but 'l' is absolute.

Ouch - I just confused myself with this ambiguous wording.  By "this
will break" I mean that the condition won't work as intended, so in fact
this will not break (out of the loop).

Josh



More information about the Systemtap mailing list