diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-10-14 15:43:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-15 10:42:35 +0200 |
commit | 298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d (patch) | |
tree | 19d78143601fa8e13034c388e71f845bc485f233 /tools/perf/util/trace-event-parse.c | |
parent | 91ff2bc191827f0d3f5ad0a433ff7df7d2dd9aee (diff) | |
download | blackbird-op-linux-298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d.tar.gz blackbird-op-linux-298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d.zip |
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 <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20091014194357.807434040@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/trace-event-parse.c')
-rw-r--r-- | 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 2b75ec2f57e8..3e643f5da202 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) { |