diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-02-23 16:13:56 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-03-18 10:33:05 -0400 |
commit | cf986e57d606849288eecf572800f2bd476fb1ab (patch) | |
tree | 7a19828fb593b131c873a500a9e1a2eb5e9dae36 /samples | |
parent | dd6ae6d90a84d4bec49887c7aa2b22aa1c8b2897 (diff) |
tracing: Add warning if string in __assign_str() does not match __string()
In preparation to remove the second parameter of __assign_str(), make sure
it is really a duplicate of __string() by adding a WARN_ON_ONCE().
Link: https://lore.kernel.org/linux-trace-kernel/20240223161356.63b72403@gandalf.local.home
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions