Documentation: Add minimum pahole version
Subsystems (5)
PATCH 1/1 Documentation: Add minimum pahole version
A report was made in https://github.com/acmel/dwarves/issues/26 about pahole not being listed in the process/changes.rst file as being needed for building the kernel, address that.
--- Documentation/process/changes.rst | 9 +++++++++ 1 file changed, 9 insertions(+)
Documentation/process/changes.rst +9 -0
@@ -35,6 +35,7 @@ GNU make 3.81 make --version binutils 2.23 ld -v flex 2.5.35 flex --version bison 2.0 bison --version +pahole 1.16 pahole --version util-linux 2.10o fdformat --version kmod 13 depmod -V e2fsprogs 1.41.4 e2fsck -V
@@ -108,6 +109,14 @@ Bison Since Linux 4.16, the build system generates parsers during build. This requires bison 2.0 or later. +pahole: +------- + +Since Linux 5.2 the build system generates BTF (BPF Type Format) from DWARF in +vmlinux, a bit later from kernel modules as well, if CONFIG_DEBUG_INFO_BTF is +selected. This requires pahole v1.16 or later. It is found in the 'dwarves' or +'pahole' distro packages or from https://fedorapeople.org/~acme/dwarves/. + Perl ----
Signature · 1 line
2.31.1
Quoted 31 lines · Arnaldo Carvalho de Melo
A report was made in https://github.com/acmel/dwarves/issues/26 about pahole not being listed in the
process/changes.rstfile as being needed for building the kernel, address that.Cc Alexei Starovoitov <[email protected]>Cc Andrii Nakryiko <[email protected]>Cc Daniel Borkmann <[email protected]>Cc Jiri Olsa <[email protected]>Cc Jonathan Corbet <[email protected]>Signed-off-by Arnaldo Carvalho de Melo <[email protected]>--- Documentation/process/changes.rst | 9 +++++++++ 1 file changed, 9 insertions(+)Documentation/process/changes.rst +1
-0@@ -35,6 +35,7 @@ GNU make 3.81 make --version binutils 2.23 ld -v flex 2.5.35 flex --version bison 2.0 bison --version +pahole 1.16 pahole --version util-linux 2.10o fdformat --version kmod 13 depmod -V e2fsprogs 1.41.4 e2fsck -V
Documentation/process/changes.rst Bison · line 116
Quoted 8 lines
Documentation/process/changes.rst +5
-0@@ -108,6 +109,14 @@ Bison Since Linux 4.16, the build system generates parsers during build. This requires bison 2.0 or later. +pahole: +------- + +Since Linux 5.2 the build system generates BTF (BPF Type Format) from DWARF in +vmlinux, a bit later from kernel modules as well, if CONFIG_DEBUG_INFO_BTF is
I'd probably emphasize a bit more that pahole is required only if CONFIG_DEBUG_INFO_BTF is selected by moving "If CONFIG_DEBUG_INFO_BTF is selected, " to the front. But either way looks good.
Quoted 9 lines
Documentation/process/changes.rst +3
-1+selected. This requires pahole v1.16 or later. It is found in the 'dwarves' or +'pahole' distro packages or from https://fedorapeople.org/~acme/dwarves/. + Perl ---- --2.31.1
Daniel Borkmann
maintainerQuoted 36 lines · Andrii Nakryiko
Quoted 34 lines · Arnaldo Carvalho de Melo
A report was made in https://github.com/acmel/dwarves/issues/26 about pahole not being listed in the
process/changes.rstfile as being needed for building the kernel, address that.Cc Alexei Starovoitov <[email protected]>Cc Andrii Nakryiko <[email protected]>Cc Daniel Borkmann <[email protected]>Cc Jiri Olsa <[email protected]>Cc Jonathan Corbet <[email protected]>Signed-off-by Arnaldo Carvalho de Melo <[email protected]>--- Documentation/process/changes.rst | 9 +++++++++ 1 file changed, 9 insertions(+)Documentation/process/changes.rst +1
-0@@ -35,6 +35,7 @@ GNU make 3.81 make --version binutils 2.23 ld -v flex 2.5.35 flex --version bison 2.0 bison --version +pahole 1.16 pahole --version util-linux 2.10o fdformat --version kmod 13 depmod -V e2fsprogs 1.41.4 e2fsck -V@@ -108,6 +109,14 @@ Bison Since Linux 4.16, the build system generates parsers during build. This requires bison 2.0 or later.
Quoted 9 lines
Documentation/process/changes.rst Bison · line 116
Quoted 5 lines
Documentation/process/changes.rst +5
-0+pahole: +------- + +Since Linux 5.2 the build system generates BTF (BPF Type Format) from DWARF in +vmlinux, a bit later from kernel modules as well, if CONFIG_DEBUG_INFO_BTF isI'd probably emphasize a bit more that pahole is required only if
CONFIG_DEBUG_INFO_BTFis selected by moving "IfCONFIG_DEBUG_INFO_BTFis selected, " to the front. But either way looks good.
+1, I presume Jonathan will later pick up the v2?
Quoted 11 lines
Acked-by Andrii Nakryiko <[email protected]>Quoted 9 lines
Documentation/process/changes.rst +3
-1+selected. This requires pahole v1.16 or later. It is found in the 'dwarves' or +'pahole' distro packages or from https://fedorapeople.org/~acme/dwarves/. + Perl ---- --2.31.1
Em Wed, Nov 17, 2021 at 11:33:24PM +0100, Daniel Borkmann escreveu:
Quoted 47 lines · Andrii Nakryiko
Quoted 36 lines
Quoted 34 lines · Arnaldo Carvalho de Melo
A report was made in https://github.com/acmel/dwarves/issues/26 about pahole not being listed in the
process/changes.rstfile as being needed for building the kernel, address that.Cc Alexei Starovoitov <[email protected]>Cc Andrii Nakryiko <[email protected]>Cc Daniel Borkmann <[email protected]>Cc Jiri Olsa <[email protected]>Cc Jonathan Corbet <[email protected]>Signed-off-by Arnaldo Carvalho de Melo <[email protected]>--- Documentation/process/changes.rst | 9 +++++++++ 1 file changed, 9 insertions(+)Documentation/process/changes.rst +1
-0@@ -35,6 +35,7 @@ GNU make 3.81 make --version binutils 2.23 ld -v flex 2.5.35 flex --version bison 2.0 bison --version +pahole 1.16 pahole --version util-linux 2.10o fdformat --version kmod 13 depmod -V e2fsprogs 1.41.4 e2fsck -V@@ -108,6 +109,14 @@ Bison Since Linux 4.16, the build system generates parsers during build. This requires bison 2.0 or later.Quoted 9 lines
Documentation/process/changes.rst Bison · line 116
Quoted 5 lines
Documentation/process/changes.rst +5
-0+pahole: +------- + +Since Linux 5.2 the build system generates BTF (BPF Type Format) from DWARF in +vmlinux, a bit later from kernel modules as well, if CONFIG_DEBUG_INFO_BTF isI'd probably emphasize a bit more that pahole is required only if
CONFIG_DEBUG_INFO_BTFis selected by moving "IfCONFIG_DEBUG_INFO_BTFis selected, " to the front. But either way looks good.
Quoted 1 line
+1, I presume Jonathan will later pick up the v2?
I'll resubmit later.
- Arnaldo
Quoted 11 lines
Quoted 11 lines
Acked-by Andrii Nakryiko <[email protected]>Quoted 9 lines
Documentation/process/changes.rst +3
-1+selected. This requires pahole v1.16 or later. It is found in the 'dwarves' or +'pahole' distro packages or from https://fedorapeople.org/~acme/dwarves/. + Perl ---- --2.31.1
Signature · 1 line
- Arnaldo