mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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>
This commit is contained in:
parent
91ff2bc191
commit
298ebc3ef2
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue