diff options
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-perl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-perl.c b/tools/perf/util/scripting-engines/trace-event-perl.c index e30749e38a9b..d50658b7d9e0 100644 --- a/tools/perf/util/scripting-engines/trace-event-perl.c +++ b/tools/perf/util/scripting-engines/trace-event-perl.c | |||
@@ -209,6 +209,8 @@ static void define_event_symbols(struct event *event, | |||
209 | define_symbolic_values(args->symbol.symbols, ev_name, | 209 | define_symbolic_values(args->symbol.symbols, ev_name, |
210 | cur_field_name); | 210 | cur_field_name); |
211 | break; | 211 | break; |
212 | case PRINT_BSTRING: | ||
213 | case PRINT_DYNAMIC_ARRAY: | ||
212 | case PRINT_STRING: | 214 | case PRINT_STRING: |
213 | break; | 215 | break; |
214 | case PRINT_TYPE: | 216 | case PRINT_TYPE: |
@@ -220,7 +222,9 @@ static void define_event_symbols(struct event *event, | |||
220 | define_event_symbols(event, ev_name, args->op.left); | 222 | define_event_symbols(event, ev_name, args->op.left); |
221 | define_event_symbols(event, ev_name, args->op.right); | 223 | define_event_symbols(event, ev_name, args->op.right); |
222 | break; | 224 | break; |
225 | case PRINT_FUNC: | ||
223 | default: | 226 | default: |
227 | pr_err("Unsupported print arg type\n"); | ||
224 | /* we should warn... */ | 228 | /* we should warn... */ |
225 | return; | 229 | return; |
226 | } | 230 | } |