From: Steven Rostedt Date: Wed, 14 Oct 2009 19:43:34 +0000 (-0400) Subject: perf tools: Handle trace parsing of < and > X-Git-Tag: v2.6.33-rc1~399^2~187^2~40 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d;p=~emulex%2Finfiniband.git perf tools: Handle trace parsing of < and > The code to handle the '<' and '>' ops was all in place, but they were not in the switch statement to consider them as valid ops. Signed-off-by: Steven Rostedt Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Arnaldo Carvalho de Melo LKML-Reference: <20091014194357.807434040@goodmis.org> Signed-off-by: Ingo Molnar --- diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c index 2b75ec2f57e..3e643f5da20 100644 --- a/tools/perf/util/trace-event-parse.c +++ b/tools/perf/util/trace-event-parse.c @@ -1170,6 +1170,8 @@ process_op(struct event *event, struct print_arg *arg, char **tok) strcmp(token, "*") == 0 || strcmp(token, "^") == 0 || strcmp(token, "/") == 0 || + strcmp(token, "<") == 0 || + strcmp(token, ">") == 0 || strcmp(token, "==") == 0 || strcmp(token, "!=") == 0) {