[PATCH 03/13] [PATCH 03/13] perf tools: handle trace parsing of < and >

From: Steven Rostedt
Date: Wed Oct 14 2009 - 15:48:27 EST


From: Steven Rostedt <srostedt@xxxxxxxxxx>

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 <srostedt@xxxxxxxxxx>
---
tools/perf/util/trace-event-parse.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c
index cae88de..8388238 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) {

--
1.6.3.3


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/