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 | Merge branch 'extern-var-support' (diff) | |
parent | selftests/bpf: Add flexible array relocation tests (diff) | |
download | linux-dev-0849e1028088fb9e3f1de577106b89a513ba986e.tar.xz linux-dev-0849e1028088fb9e3f1de577106b89a513ba986e.zip |
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 '')
0 files changed, 0 insertions, 0 deletions