Skip to content
Commit 5531939a authored by Alexei Starovoitov's avatar Alexei Starovoitov
Browse files

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: default avatarAlexei Starovoitov <ast@kernel.org>
parents 4d0b9389 252e3cbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment