aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/traceevent/event-parse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index 476626af7317..876b2720253d 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -3130,6 +3130,12 @@ eval_num_arg(void *data, int size, struct event_format *event, struct print_arg
3130 case '+': 3130 case '+':
3131 val = left + right; 3131 val = left + right;
3132 break; 3132 break;
3133 case '/':
3134 val = left / right;
3135 break;
3136 case '*':
3137 val = left * right;
3138 break;
3133 default: 3139 default:
3134 die("unknown op '%s'", arg->op.op); 3140 die("unknown op '%s'", arg->op.op);
3135 } 3141 }