| Date | Wed, 14 Oct 2009 15:43:34 -0400 | From | Steven Rostedt <> | Subject | [PATCH 03/13] [PATCH 03/13] perf tools: handle trace parsing of < and > |
| |
From: Steven Rostedt <srostedt@redhat.com>
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@redhat.com> --- 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
|