A soon-to-arrive series will add support to add BTF kind layout information to BTF; this describes the BTF kinds known about at time of encoding in order to support parsing even in cases where the kinds are not known to the parser; the kind layout relates a BTF kind to the amount of space it consumes via an optional single element following the BTF type or a set of vlen-specified objects. This series implements the support for the BTF "kind_layout" feature but does not require the libbpf changes to support it; the feature test uses a weak declaration of btf__new_empty_opts() to handle the unsupported case. Alan Maguire (2): pahole: Add "kind_layout" BTF encoding feature man-pages: describe kind_layout BTF feature btf_encoder.c | 10 +++++++++- dwarves.h | 13 ++++++++++++- man-pages/pahole.1 | 2 ++ pahole.c | 7 +++++++ 4 files changed, 30 insertions(+), 2 deletions(-) -- 2.39.3