tracing: Remove size restriction on tracing_log_err cmd strings
authorTom Zanussi <zanussi@kernel.org>
Thu, 27 Jan 2022 21:44:19 +0000 (15:44 -0600)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 11 Feb 2022 03:27:17 +0000 (22:27 -0500)
commit1581a884b7ca5592270caa010a910f2ed4f7b5f5
tree78b9980241bf4678f303f81a8727f663c1ed4614
parent3203ce39ac0b2a57a84382ec184c7d4a0bede175
tracing: Remove size restriction on tracing_log_err cmd strings

Currently, tracing_log_err.cmd 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).

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

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