Em Tue, Mar 24, 2015 at 09:57:53AM -0400, Steven Rostedt escreveu: > From: "Steven Rostedt (Red Hat)" <[email protected]>
Ok, you caught me on this one, squashed with the previous one :-) - Arnaldo > Signed-off-by: Steven Rostedt <[email protected]> > --- > tools/lib/traceevent/event-parse.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/lib/traceevent/event-parse.c > b/tools/lib/traceevent/event-parse.c > index 8cc3e894ff46..aff743710001 100644 > --- a/tools/lib/traceevent/event-parse.c > +++ b/tools/lib/traceevent/event-parse.c > @@ -5033,7 +5033,7 @@ int pevent_cmdline_pid(struct pevent *pevent, struct > cmdline *cmdline) > * If cmdlines have not been created yet, or cmdline is > * not part of the array, then treat it as a cmdlist instead. > */ > - if (!pevent->cmdlines || > + if (!pevent->cmdlines || > cmdline < pevent->cmdlines || > cmdline >= pevent->cmdlines + pevent->cmdline_count) > return cmdlist->pid; > -- > 2.1.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

