diff options
author | Martin Rodriguez Reboredo <yakoyoku@gmail.com> | 2022-09-16 20:12:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-24 10:58:31 +0300 |
commit | 6cfc3d5b06fe82ec7b7109f5ddfb22745475d165 (patch) | |
tree | b240de37810f0e3fcbd38bf6117a7ecf2101ae72 /README | |
parent | d8861de1c35bd003470ec317e7b90cefe9546f27 (diff) | |
download | linux-6cfc3d5b06fe82ec7b7109f5ddfb22745475d165.tar.xz |
kbuild: Add skip_encoding_btf_enum64 option to pahole
New pahole (version 1.24) generates by default new BTF_KIND_ENUM64 BTF tag,
which is not supported by stable kernel.
As a result the kernel with CONFIG_DEBUG_INFO_BTF option will fail to
compile with following error:
BTFIDS vmlinux
FAILED: load BTF from vmlinux: Invalid argument
New pahole provides --skip_encoding_btf_enum64 option to skip BTF_KIND_ENUM64
generation and produce BTF supported by stable kernel.
Adding this option to scripts/pahole-flags.sh.
This change does not have equivalent commit in linus tree, because linus tree
has support for BTF_KIND_ENUM64 tag, so it does not need to be disabled.
Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions