On 7/22/22 11:34 AM, Dave Marchevsky wrote:
+ case BTF_FIELD_RB_NODE: + name = "rb_node"; + sz = sizeof(struct rb_node); + align = __alignof__(struct rb_node); + break;
and its usage in bpf prog: +struct node_data { + struct rb_node node; + __u32 one; + __u32 two; +}; may break from kernel to kernel. let's wrap it into bpf_rb_node ?