On Fri, 1 Aug 2025 12:59:05 -0700 Martin KaFai Lau <martin....@linux.dev> 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