Re: [PATCH] synthetic tracing: Fix trace_string() return value

2024-02-15 Thread Google
On Wed, 14 Feb 2024 23:05:56 +0100 Thorsten Blum wrote: > Fix trace_string() by assigning the string length to the return variable > which got lost in commit ddeea494a16f ("tracing/synthetic: Use union > instead of casts") and caused trace_string() to always return 0. > Good catch! Acked-by:

[PATCH] synthetic tracing: Fix trace_string() return value

2024-02-14 Thread Thorsten Blum
Fix trace_string() by assigning the string length to the return variable which got lost in commit ddeea494a16f ("tracing/synthetic: Use union instead of casts") and caused trace_string() to always return 0. Signed-off-by: Thorsten Blum --- kernel/trace/trace_events_synth.c | 3 ++- 1 file