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