diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-12-15 16:53:51 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-15 16:53:55 -0800 |
commit | 0849e1028088fb9e3f1de577106b89a513ba986e (patch) | |
tree | d4caafe2b8a17549f4b088f75beb8044761d7579 /tools/lib/bpf/btf.c | |
parent | 01c6f7aaacf982fd80d5e855f0c6187d8155ffed (diff) | |
parent | 5f2eeceffb92a0d799b141df7af3d1ac77337dc4 (diff) |
Merge branch 'support-flex-arrays'
Andrii Nakryiko says:
====================
Add support for flexible array accesses in a relocatable manner in BPF CO-RE.
It's a typical pattern in C, and kernel in particular, to provide
a fixed-length struct with zero-sized or dimensionless array at the end. In
such cases variable-sized array contents follows immediately after the end of
a struct. This patch set adds support for such access pattern by allowing
accesses to such arrays.
Patch #1 adds libbpf support. Patch #2 adds few test cases for validation.
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/btf.c')
0 files changed, 0 insertions, 0 deletions