aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-10-14 15:43:34 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-15 04:42:35 -0400
commit298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d (patch)
tree19d78143601fa8e13034c388e71f845bc485f233
parent91ff2bc191827f0d3f5ad0a433ff7df7d2dd9aee (diff)
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>
-rw-r--r--tools/perf/util/trace-event-parse.c2
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)
1170 strcmp(token, "*") == 0 || 1170 strcmp(token, "*") == 0 ||
1171 strcmp(token, "^") == 0 || 1171 strcmp(token, "^") == 0 ||
1172 strcmp(token, "/") == 0 || 1172 strcmp(token, "/") == 0 ||
1173 strcmp(token, "<") == 0 ||
1174 strcmp(token, ">") == 0 ||
1173 strcmp(token, "==") == 0 || 1175 strcmp(token, "==") == 0 ||
1174 strcmp(token, "!=") == 0) { 1176 strcmp(token, "!=") == 0) {
1175 1177