Re: [PATCH] tracing: Have unsigned int function args displayed as hexadecimal
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-08-01 20:05:34
Also in:
bpf, lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-08-01 20:05:34
Also in:
bpf, lkml
On Fri, 1 Aug 2025 12:59:05 -0700 Martin KaFai Lau [off-list ref] wrote:
On 7/31/25 4:31 PM, Steven Rostedt wrote:quoted
+ 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.
Thanks, I didn't see that. I was looking at the code in btf.c which had this open coded. -- Steve