aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/lib/traceevent/event-parse.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index 998534992197..33450c901e17 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -2124,6 +2124,13 @@ process_fields(struct event_format *event, struct print_flag_sym **list, char **
2124 2124
2125 free_token(token); 2125 free_token(token);
2126 type = process_arg(event, arg, &token); 2126 type = process_arg(event, arg, &token);
2127
2128 if (type == EVENT_OP)
2129 type = process_op(event, arg, &token);
2130
2131 if (type == EVENT_ERROR)
2132 goto out_free;
2133
2127 if (test_type_token(type, token, EVENT_DELIM, ",")) 2134 if (test_type_token(type, token, EVENT_DELIM, ","))
2128 goto out_free; 2135 goto out_free;
2129 2136