On Sat, Dec 14, 2019 at 11:09 PM Andrii Nakryiko <andriin@xxxxxx> wrote: > > 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. Applied. Thanks