[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6577821c86fab_edaa208bb@john.notmuch>
Date: Mon, 11 Dec 2023 13:41:48 -0800
From: John Fastabend <john.fastabend@...il.com>
To: Andrii Nakryiko <andrii@...nel.org>,
bpf@...r.kernel.org,
netdev@...r.kernel.org,
paul@...l-moore.com,
brauner@...nel.org
Cc: linux-fsdevel@...r.kernel.org,
linux-security-module@...r.kernel.org,
keescook@...omium.org,
kernel-team@...a.com,
sargun@...gun.me
Subject: RE: [PATCH bpf-next 4/8] libbpf: move feature detection code into its
own file
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@...nel.org>
> ---
> 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@...il.com>
Powered by blists - more mailing lists