Re: [PATCH] tracing: Have unsigned int function args displayed as hexadecimal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 1 Aug 2025 12:59:05 -0700
Martin KaFai Lau <martin.lau@xxxxxxxxx> wrote:

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

Thanks, I didn't see that. I was looking at the code in btf.c which had
this open coded.

-- Steve




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux