summaryrefslogtreecommitdiffstats
path: root/tools/perf
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 10:42:35 +0200
commit298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d (patch)
tree19d78143601fa8e13034c388e71f845bc485f233 /tools/perf
parent91ff2bc191827f0d3f5ad0a433ff7df7d2dd9aee (diff)
downloadop-kernel-dev-298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d.zip
op-kernel-dev-298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d.tar.gz
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')
-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 2b75ec2..3e643f5 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) {
OpenPOWER on IntegriCloud