This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC] [PATCH] Add statement ranges to kernel.statement
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