[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzbL4xoc8NkCwUYH6mTg-QaGi42=Uzgn63ThyZrux+EeNg@mail.gmail.com>
Date: Fri, 11 Feb 2022 16:42:29 -0800
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Mauricio Vásquez <mauricio@...volk.io>
Cc: Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Quentin Monnet <quentin@...valent.com>,
Rafael David Tinoco <rafaeldtinoco@...il.com>,
Lorenzo Fontana <lorenzo.fontana@...stic.co>,
Leonardo Di Donato <leonardo.didonato@...stic.co>
Subject: Re: [PATCH bpf-next v6 3/7] bpftool: Add gen min_core_btf command
On Wed, Feb 9, 2022 at 2:27 PM Mauricio Vásquez <mauricio@...volk.io> wrote:
>
> This command is implemented under the "gen" command in bpftool and the
> syntax is the following:
>
> $ bpftool gen min_core_btf INPUT OUTPUT OBJECT [OBJECT...]
>
> INPUT is the file that contains all the BTF types for a kernel and
> OUTPUT is the path of the minimize BTF file that will be created with
> only the types needed by the objects.
>
> Signed-off-by: Mauricio Vásquez <mauricio@...volk.io>
> Signed-off-by: Rafael David Tinoco <rafael.tinoco@...asec.com>
> Signed-off-by: Lorenzo Fontana <lorenzo.fontana@...stic.co>
> Signed-off-by: Leonardo Di Donato <leonardo.didonato@...stic.co>
> ---
LGTM. So much simpler interface.
Acked-by: Andrii Nakryiko <andrii@...nel.org>
> tools/bpf/bpftool/bash-completion/bpftool | 6 +++-
> tools/bpf/bpftool/gen.c | 42 +++++++++++++++++++++--
> 2 files changed, 44 insertions(+), 4 deletions(-)
>
[...]
Powered by blists - more mailing lists