diff options
| author | Masami Hiramatsu <[email protected]> | 2021-07-27 22:55:43 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2021-08-04 21:49:26 +0000 |
| commit | a9d10ca4986571bffc19778742d508cc8dd13e02 (patch) | |
| tree | 6339a279fa03f82446029b89c95eb8125dc5e491 /lib/debugobjects.c | |
| parent | tracing / histogram: Give calculation hist_fields a size (diff) | |
| download | kernel-a9d10ca4986571bffc19778742d508cc8dd13e02.tar.gz kernel-a9d10ca4986571bffc19778742d508cc8dd13e02.zip | |
tracing: Reject string operand in the histogram expression
Since the string type can not be the target of the addition / subtraction
operation, it must be rejected. Without this fix, the string type silently
converted to digits.
Link: https://lkml.kernel.org/r/162742654278.290973.1523000673366456634.stgit@devnote2
Cc: [email protected]
Fixes: 100719dcef447 ("tracing: Add simple expression support to hist triggers")
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
