]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-btf-dwarf5'
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 2 Feb 2022 10:19:34 +0000 (11:19 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 2 Feb 2022 10:22:06 +0000 (11:22 +0100)
commitdbf8f2005073a8bdae09ef504ee05dc5e66a7afc
tree981f50eafee65ec885147d7d38f638fb5a035aa9
parentfe7265df073cdec1078caad05b14e7c60cc0b688
parent9548dc5e78aa79a1dab1b3bf8be834fef9664089
Merge branch 'bpf-btf-dwarf5'

Nathan Chancellor says:

====================
This series allows CONFIG_DEBUG_INFO_DWARF5 to be selected with
CONFIG_DEBUG_INFO_BTF=y by checking the pahole version.

The first four patches add CONFIG_PAHOLE_VERSION and
scripts/pahole-version.sh to clean up all the places that pahole's
version is transformed into a 3-digit form.

The fourth patch adds a PAHOLE_VERSION dependency to DEBUG_INFO_DWARF5
so that there are no build errors when it is selected with
DEBUG_INFO_BTF.

I build tested Fedora's aarch64 and x86_64 config with ToT clang 14.0.0
and GCC 11 with CONFIG_DEBUG_INFO_DWARF5 enabled with both pahole 1.21
and 1.23.
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>