Andrii Nakryiko <andriin@xxxxxx> writes: > Add a bunch of getter for various aspects of BPF map. Some of these attribute > (e.g., key_size, value_size, type, etc) are available right now in struct > bpf_map_def, but this patch adds getter allowing to fetch them individually. > bpf_map_def approach isn't very scalable, when ABI stability requirements are > taken into account. It's much easier to extend libbpf and add support for new > features, when each aspect of BPF map has separate getter/setter. +1, good idea! Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>