mbox series

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

Message ID 20221129134217.52767-1-changbin.du@gmail.com (mailing list archive)
Headers show
Series bpftool: improve error handing for missing .BTF section | expand

Message

Changbin Du Nov. 29, 2022, 1:42 p.m. UTC
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(+)

Comments

Andrii Nakryiko Dec. 1, 2022, 12:55 a.m. UTC | #1
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
>