提交 298ebc3e 编写于 作者: S Steven Rostedt 提交者: Ingo Molnar

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: NSteven 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: NIngo Molnar <mingo@elte.hu>
上级 91ff2bc1
...@@ -1170,6 +1170,8 @@ process_op(struct event *event, struct print_arg *arg, char **tok) ...@@ -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 ||
strcmp(token, ">") == 0 ||
strcmp(token, "==") == 0 || strcmp(token, "==") == 0 ||
strcmp(token, "!=") == 0) { strcmp(token, "!=") == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册