[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <604028fc-0a41-4323-b72a-7c61e069ef3c@linux.dev>
Date: Fri, 1 Aug 2025 12:59:05 -0700
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, bpf@...r.kernel.org,
Douglas Raillard <douglas.raillard@....com>,
LKML <linux-kernel@...r.kernel.org>,
Linux Trace Kernel <linux-trace-kernel@...r.kernel.org>
Subject: Re: [PATCH] tracing: Have unsigned int function args displayed as
hexadecimal
On 7/31/25 4:31 PM, Steven Rostedt wrote:
> + int_data = btf_type_int(t);
> + encode = BTF_INT_ENCODING(int_data);
There is a btf_int_encoding(t) helper in btf.h, so only "encode =
btf_int_encoding(t);" will be simpler.
Powered by blists - more mailing lists