linux5.7: enable BPF type format on x86_64

Required e.g. for opensnoop from bcc-tools to fix the following problem:
libbpf: failed to find valid kernel BTF
libbpf: vmlinux BTF is not found
bpf: Failed to load program: Invalid argument
This commit is contained in:
Alexander Egorenkov 2020-07-12 11:59:15 +02:00 committed by Leah Neukirchen
parent 0bf61a5846
commit c50173100f
2 changed files with 2 additions and 2 deletions

View file

@ -9563,7 +9563,7 @@ CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set # CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_SPLIT is not set # CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_DWARF4 is not set # CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_DEBUG_INFO_BTF is not set CONFIG_DEBUG_INFO_BTF=y
# CONFIG_GDB_SCRIPTS is not set # CONFIG_GDB_SCRIPTS is not set
# CONFIG_ENABLE_MUST_CHECK is not set # CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_FRAME_WARN=1024 CONFIG_FRAME_WARN=1024

View file

@ -22,7 +22,7 @@ noshlibprovides=yes
preserve=yes preserve=yes
hostmakedepends="tar xz bc elfutils-devel flex gmp-devel kmod libmpc-devel hostmakedepends="tar xz bc elfutils-devel flex gmp-devel kmod libmpc-devel
libressl-devel perl uboot-mkimage cpio" libressl-devel perl uboot-mkimage cpio pahole"
_kernver="${version}_${revision}" _kernver="${version}_${revision}"
triggers="kernel-hooks" triggers="kernel-hooks"