Merge branch 'Build BPF selftests and its libbpf, bpftool in debug mode'
authorAlexei Starovoitov <ast@kernel.org>
Tue, 16 Mar 2021 19:26:49 +0000 (12:26 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 16 Mar 2021 19:26:50 +0000 (12:26 -0700)
commit5531939a4def86bea1e0adbbe0a13ebfbea36ccd
treeabae2641e2c544a916535b84abeb280df8940a99
parent4d0b93896ff8d6795ad8d1b604e41aa850d5a635
parent252e3cbf2b623422b359b965b94060e8d68597e1
Merge branch 'Build BPF selftests and its libbpf, bpftool in debug mode'

Andrii Nakryiko says:

====================

Build BPF selftests and libbpf and bpftool, that are used as part of
selftests, in debug mode (specifically, -Og). This makes it much simpler and
nicer to do development and/or bug fixing. See patch #4 for some unscientific
measurements.

This patch set fixes new maybe-unitialized warnings produced in -Og build
mode. Patch #1 fixes the blocker which was causing some XDP selftests failures
due to non-zero padding in bpf_xdp_set_link_opts, which only happened in debug
mode.
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>