diff mbox series

[1/1,v2] Documentation: Add minimum pahole version

Message ID YZfzQ0DvHD5o26Bt@kernel.org (mailing list archive)
State Not Applicable
Delegated to: BPF
Headers show
Series [1/1,v2] Documentation: Add minimum pahole version | expand

Checks

Context Check Description
bpf/vmtest-bpf-next-PR fail PR summary
bpf/vmtest-bpf fail VM_Test
bpf/vmtest-bpf-PR fail PR summary
bpf/vmtest-bpf-next fail VM_Test
netdev/tree_selection success Not a local patch

Commit Message

Arnaldo Carvalho de Melo Nov. 19, 2021, 6:56 p.m. UTC
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.

Link: https://github.com/acmel/dwarves/issues/26
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: bpf@vger.kernel.org
Cc: netdev@vger.kernel.org
Link: http://lore.kernel.org/lkml/YZPQ6+u2wTHRfR+W@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 Documentation/process/changes.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Jonathan Corbet Nov. 29, 2021, 9:48 p.m. UTC | #1
Arnaldo Carvalho de Melo <acme@kernel.org> writes:

> 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.
>
> Link: https://github.com/acmel/dwarves/issues/26
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> Acked-by: Andrii Nakryiko <andrii@kernel.org>
> Acked-by: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Alexei Starovoitov <ast@kernel.org>
> Cc: Jiri Olsa <jolsa@redhat.com>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: bpf@vger.kernel.org
> Cc: netdev@vger.kernel.org
> Link: http://lore.kernel.org/lkml/YZPQ6+u2wTHRfR+W@kernel.org
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> ---
>  Documentation/process/changes.rst | 11 +++++++++++
>  1 file changed, 11 insertions(+)

Applied (with the duplicate SOB removed), thanks.

jon
Arnaldo Carvalho de Melo Nov. 30, 2021, 2:38 p.m. UTC | #2
Em Mon, Nov 29, 2021 at 02:48:42PM -0700, Jonathan Corbet escreveu:
> Arnaldo Carvalho de Melo <acme@kernel.org> writes:
> 
> > 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.
> >
> > Link: https://github.com/acmel/dwarves/issues/26
> > Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> > Acked-by: Andrii Nakryiko <andrii@kernel.org>
> > Acked-by: Daniel Borkmann <daniel@iogearbox.net>
> > Cc: Alexei Starovoitov <ast@kernel.org>
> > Cc: Jiri Olsa <jolsa@redhat.com>
> > Cc: Jonathan Corbet <corbet@lwn.net>
> > Cc: bpf@vger.kernel.org
> > Cc: netdev@vger.kernel.org
> > Link: http://lore.kernel.org/lkml/YZPQ6+u2wTHRfR+W@kernel.org
> > Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> > ---
> >  Documentation/process/changes.rst | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> 
> Applied (with the duplicate SOB removed), thanks.

Oops, one should be enough indeed :-)

Thanks!

- Arnaldo
diff mbox series

Patch

diff --git a/Documentation/process/changes.rst b/Documentation/process/changes.rst
index e35ab74a0f804b04..572465db0db19e8f 100644
--- a/Documentation/process/changes.rst
+++ b/Documentation/process/changes.rst
@@ -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,16 @@  Bison
 Since Linux 4.16, the build system generates parsers
 during build.  This requires bison 2.0 or later.
 
+pahole:
+-------
+
+Since Linux 5.2, if CONFIG_DEBUG_INFO_BTF is selected, the build system
+generates BTF (BPF Type Format) from DWARF in vmlinux, a bit later from kernel
+modules as well.  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
 ----