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

Changbin Du posted 2 patches 2 years, 9 months ago
There is a newer version of this series
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(+)
[PATCH v2 0/2] bpftool: improve error handing for missing .BTF section
Posted by Changbin Du 2 years, 9 months ago
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
Re: [PATCH v2 0/2] bpftool: improve error handing for missing .BTF section
Posted by Andrii Nakryiko 2 years, 9 months ago
On Tue, Nov 29, 2022 at 5:42 AM Changbin Du <changbin.du@gmail.com> 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
>