diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-07-28 07:55:43 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-08-04 17:49:26 -0400 |
commit | a9d10ca4986571bffc19778742d508cc8dd13e02 (patch) | |
tree | 6339a279fa03f82446029b89c95eb8125dc5e491 /scripts | |
parent | 2c05caa7ba8803209769b9e4fe02c38d77ae88d0 (diff) | |
download | linux-stable-a9d10ca4986571bffc19778742d508cc8dd13e02.tar.gz linux-stable-a9d10ca4986571bffc19778742d508cc8dd13e02.tar.bz2 linux-stable-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: stable@vger.kernel.org
Fixes: 100719dcef447 ("tracing: Add simple expression support to hist triggers")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions