Re: [PATCH v2 2/8] libbpf: Move opts code into dedicated header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 29, 2024 at 9:46 AM Charlie Jenkins <charlie@xxxxxxxxxxxx> wrote:
>
> Signed-off-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>
> ---
>  tools/include/tools/opts.h      | 68 +++++++++++++++++++++++++++++++++++++++++
>  tools/lib/bpf/bpf.c             |  1 +
>  tools/lib/bpf/btf.c             |  1 +
>  tools/lib/bpf/btf_dump.c        |  1 +
>  tools/lib/bpf/libbpf.c          |  3 +-
>  tools/lib/bpf/libbpf_internal.h | 48 -----------------------------
>  tools/lib/bpf/linker.c          |  1 +
>  tools/lib/bpf/netlink.c         |  1 +
>  tools/lib/bpf/ringbuf.c         |  1 +
>  9 files changed, 76 insertions(+), 49 deletions(-)
>

Nope, sorry, I don't think I want to do this for libbpf. This will
just make Github synchronization trickier, and I don't really see a
point.

I'm totally fine with libperf making a copy of these helpers, though
(this is not complicated or tricky code). I also don't think it will
change much, so there is little risk of any sort of divergence.

[...]





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux