Re: [PATCH next] tracing: Remove spurious default precision from show_event_trigger/filter formats
From: Petr Mladek
Date: Fri Mar 27 2026 - 05:19:18 EST
On Thu 2026-03-26 20:18:24, david.laight.linux@xxxxxxxxx wrote:
> From: David Laight <david.laight.linux@xxxxxxxxx>
>
> Change 2d8b7f9bf8e6e ("tracing: Have show_event_trigger/filter format a bit more in columns")
> added space padding to align the output.
> However it used ("%*.s", len, "") which requests the default precision.
> It doesn't matter here whether the userspace default (0) or kernel
> default (no precision) is used, but the format should be "%*s".
>
> Signed-off-by: David Laight <david.laight.linux@xxxxxxxxx>
Makes sense. It does not change the output because it printed
an empty string "" so the precision did not matter.
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr