tracing: Remove __assign_str_len()
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 23 Feb 2024 20:22:06 +0000 (15:22 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 18 Mar 2024 14:33:05 +0000 (10:33 -0400)
commitc759e609030ca37e59866cbc849fdc611cc56292
tree6617839da12845247f8dd0048678616a5a050569
parentd15304135c7f6cbcbf9e6e37814de495a56d51f8
tracing: Remove __assign_str_len()

Now that __assign_str() gets the length from the __string() (and
__string_len()) macros, there's no reason to have a separate
__assign_str_len() macro as __assign_str() can get the length of the
string needed.

Also remove __assign_rel_str() although it had no users anyway.

Link: https://lore.kernel.org/linux-trace-kernel/20240223152206.0b650659@gandalf.local.home
Cc: Jeff Layton <jlayton@kernel.org>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
fs/nfsd/trace.h
include/trace/stages/stage6_event_callback.h
samples/trace_events/trace-events-sample.h