2022-11-29 14:11:05

by Changbin Du

[permalink] [raw]
Subject: [PATCH v2 0/2] bpftool: improve error handing for missing .BTF section

v2:
- remove vmlinux specific error info.
- use builtin target .DELETE_ON_ERROR: to delete empty vmlinux.h

Changbin Du (2):
libbpf: show error info about missing ".BTF" section
bpf: makefiles: do not generate empty vmlinux.h

tools/bpf/bpftool/Makefile | 3 +++
tools/lib/bpf/btf.c | 1 +
tools/perf/Makefile.perf | 2 ++
tools/testing/selftests/bpf/Makefile | 3 +++
4 files changed, 9 insertions(+)

--
2.37.2


2022-12-01 01:37:01

by Andrii Nakryiko

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] bpftool: improve error handing for missing .BTF section

On Tue, Nov 29, 2022 at 5:42 AM Changbin Du <[email protected]> wrote:
>

please fill out cover letter


> v2:
> - remove vmlinux specific error info.
> - use builtin target .DELETE_ON_ERROR: to delete empty vmlinux.h
>
> Changbin Du (2):
> libbpf: show error info about missing ".BTF" section
> bpf: makefiles: do not generate empty vmlinux.h
>
> tools/bpf/bpftool/Makefile | 3 +++
> tools/lib/bpf/btf.c | 1 +
> tools/perf/Makefile.perf | 2 ++
> tools/testing/selftests/bpf/Makefile | 3 +++
> 4 files changed, 9 insertions(+)
>
> --
> 2.37.2
>