Re: [GIT PULL] tracing: Updates for v6.18
From: Linus Torvalds
Date: Sun Oct 05 2025 - 12:52:42 EST
On Fri, 3 Oct 2025 at 09:27, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> - Have the system call trace events use "0x" for hex values
Side note: the "pretty" way to do this is using "'#' in the format, ie "%#lx".
It doesn't do that "if (argc < 10)" special casing thing you do - but
it *does* treat 0 specially (so it prints out just 0, not 0x0)
Admittedly we clearly don't typically do that pretty thing, with
git grep '0x%' | wc -l ; git grep '%#' | wc -l
resulting in
40012
5237
respectively.
Linus