Re: [PATCH] trace/hwlat: remove extra space at the end of hwlat_detector/mode

From: Daniel Bristot de Oliveira
Date: Fri Aug 25 2023 - 08:54:01 EST


On 8/25/23 12:34, Mikhail Kobuk wrote:
> Space is printed after each mode value including the last one:
> $ echo \"$(sudo cat /sys/kernel/tracing/hwlat_detector/mode)\"
> "none [round-robin] per-cpu "
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: 8fa826b7344d ("trace/hwlat: Implement the mode config option")
> Signed-off-by: Mikhail Kobuk <m.kobuk@xxxxxxxxx>
> Reviewed-by: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>

Acked-by: Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>

Thanks!
-- Daniel