On Fri, May 13, 2022 at 8:13 PM Yonghong Song <yhs@xxxxxx> wrote: > > Add enum64 parsing support and two new enum64 public APIs: > btf__add_enum64 > btf__add_enum64_value > > Also add support of signedness for BTF_KIND_ENUM. The > BTF_KIND_ENUM API signatures are not changed. The signedness > will be changed from unsigned to signed if btf__add_enum_value() > finds any negative values. > > Signed-off-by: Yonghong Song <yhs@xxxxxx> > --- Looks good, but new APIs will have to go into 1.0 in libbpf.map Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > tools/lib/bpf/btf.c | 103 +++++++++++++++++++++++++++++++++++++++ > tools/lib/bpf/btf.h | 12 +++++ > tools/lib/bpf/libbpf.map | 2 + > 3 files changed, 117 insertions(+) > [...]