]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Remove size restriction on synthetic event cmd error logging
authorTom Zanussi <zanussi@kernel.org>
Fri, 28 Jan 2022 20:08:27 +0000 (14:08 -0600)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 11 Feb 2022 03:27:40 +0000 (22:27 -0500)
commit2c169052a8a414e57b4a886262b479e76bcc7b7c
tree4407581b3f38ca658e4fcd407898b5db24d2c7e8
parent44a4ed4b6d679b0b2cbde3de154f638121108068
tracing: Remove size restriction on synthetic event cmd error logging

Currently, synthetic event command error strings are restricted to a
length of MAX_FILTER_STR_VAL (256), which is too short for some
commands already seen in the wild (with cmd strings longer than that
showing up truncated in err_log).

Remove the restriction so that no synthetic event command error string
is ever truncated.

Link: https://lkml.kernel.org/r/0376692396a81d0b795127c66ea92ca5bf60f481.1643399022.git.zanussi@kernel.org
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_events_synth.c