On 4/12/24 08:32, Eduard Zingerman wrote:
On Thu, 2024-04-11 at 20:56 -0700, Kui-Feng Lee wrote:
[...]
So, I decided not to support rbtree nodes and list nodes.
However, there are a discussion about looking into fields of struct
types in an outer struct type. So, we will have another patchset to
implement it. Once we have it, we can support the case of gFoo and
all_nodes described earlier.
All this makes sense, but in such a case would it make sense to adjust
btf_find_datasec_var() to avoid adding BPF_RB_NODE and BPF_LIST_NODE
variables with nelem > 1? (Like it does for BPF_TIMER etc).
That make sense. I will change it.