Commit 2cc6a52
tracing/hist: Fix wrong return value in parse_action_params()
When number of synth fields is more than SYNTH_FIELDS_MAX,
parse_action_params() should return -EINVAL.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: <[email protected]>
Cc: <[email protected]>
Cc: [email protected]
Fixes: c282a38 ("tracing: Add 'onmatch' hist trigger action support")
Signed-off-by: Zheng Yejian <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent 20fb6c9 commit 2cc6a52
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3609 | 3609 | | |
3610 | 3610 | | |
3611 | 3611 | | |
| 3612 | + | |
3612 | 3613 | | |
3613 | 3614 | | |
3614 | 3615 | | |
| |||
0 commit comments