Re: [PATCH bpf-next v6 3/7] bpftool: Add gen min_core_btf command

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

 



On Wed, Feb 9, 2022 at 2:27 PM Mauricio Vásquez <mauricio@xxxxxxxxxx> 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@xxxxxxxxxx>
> Signed-off-by: Rafael David Tinoco <rafael.tinoco@xxxxxxxxxxx>
> Signed-off-by: Lorenzo Fontana <lorenzo.fontana@xxxxxxxxxx>
> Signed-off-by: Leonardo Di Donato <leonardo.didonato@xxxxxxxxxx>
> ---

LGTM. So much simpler interface.

Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx>

>  tools/bpf/bpftool/bash-completion/bpftool |  6 +++-
>  tools/bpf/bpftool/gen.c                   | 42 +++++++++++++++++++++--
>  2 files changed, 44 insertions(+), 4 deletions(-)
>

[...]




[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