aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/btf.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-12-15 16:53:51 -0800
committerAlexei Starovoitov <ast@kernel.org>2019-12-15 16:53:55 -0800
commit0849e1028088fb9e3f1de577106b89a513ba986e (patch)
treed4caafe2b8a17549f4b088f75beb8044761d7579 /tools/lib/bpf/btf.c
parentMerge branch 'extern-var-support' (diff)
parentselftests/bpf: Add flexible array relocation tests (diff)
downloadlinux-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