aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-02-16 22:16:27 -0500
committerSteven Rostedt <rostedt@goodmis.org>2010-02-16 22:16:27 -0500
commitca296f1d6481a9051e3499d42c5975c9781b86e7 (patch)
tree2c3250f7c4ac5c49abc8b759b59635df2b1a8129
parent39b1cdf4a8e7e256420a1dc8769d8849f185fe3b (diff)
parse-events: Use pevent_find_any_field() in filtering
Change pevent_find_field() to pevent_find_any_field() because the former does not check common fields where the later checks both. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--parse-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-filter.c b/parse-filter.c
index 1627b96..3e47b2a 100644
--- a/parse-filter.c
+++ b/parse-filter.c
@@ -499,7 +499,7 @@ process_filter(struct event_format *event, struct filter_arg **parg,
499 } 499 }
500 free_token(op); 500 free_token(op);
501 501
502 field = pevent_find_field(event, field_name); 502 field = pevent_find_any_field(event, field_name);
503 free_token(field_name); 503 free_token(field_name);
504 504
505 arg = allocate_arg(); 505 arg = allocate_arg();