This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]