Andrii Nakryiko wrote: > It's quite a lot of well isolated code, so it seems like a good > candidate to move it out of libbpf.c to reduce its size. > > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > --- > tools/lib/bpf/Build | 2 +- > tools/lib/bpf/elf.c | 2 - > tools/lib/bpf/features.c | 473 ++++++++++++++++++++++++++++++++ > tools/lib/bpf/libbpf.c | 463 +------------------------------ > tools/lib/bpf/libbpf_internal.h | 2 + > tools/lib/bpf/str_error.h | 3 + > 6 files changed, 480 insertions(+), 465 deletions(-) > create mode 100644 tools/lib/bpf/features.c Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>