diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-12-14 23:08:43 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-15 16:53:50 -0800 |
commit | 1b484b301cec404e8a329f05edf848fc0a5875c0 (patch) | |
tree | 0841268af64cfe610cc4bad434f6dd7d43ebb3a9 /tools/lib/rbtree.c | |
parent | 01c6f7aaacf982fd80d5e855f0c6187d8155ffed (diff) |
libbpf: Support flexible arrays in CO-RE
Some data stuctures in kernel are defined with either zero-sized array or
flexible (dimensionless) array at the end of a struct. Actual data of such
array follows in memory immediately after the end of that struct, forming its
variable-sized "body" of elements. Support such access pattern in CO-RE
relocation handling.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191215070844.1014385-2-andriin@fb.com
Diffstat (limited to 'tools/lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions