]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tracing: Remove spurious default precision from show_event_trigger/filter formats
authorDavid Laight <david.laight.linux@gmail.com>
Thu, 26 Mar 2026 20:18:24 +0000 (20:18 +0000)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 28 Mar 2026 17:53:33 +0000 (13:53 -0400)
commite197453eb0c110d3d83fd1d2b324a93d5fcfa314
treea0759aa7bb763b00736faaf7abfdaa8248d81ba2
parentad8363ebf851599489e8821f5278f784df154398
tracing: Remove spurious default precision from show_event_trigger/filter formats

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".

Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://patch.msgid.link/20260326201824.3919-1-david.laight.linux@gmail.com
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_events.c