From patchwork Fri Nov 19 18:56:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaldo Carvalho de Melo X-Patchwork-Id: 12629381 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4F13C433F5 for ; Fri, 19 Nov 2021 18:56:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9E54961AA2 for ; Fri, 19 Nov 2021 18:56:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235363AbhKSS7J (ORCPT ); Fri, 19 Nov 2021 13:59:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:33834 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234568AbhKSS7I (ORCPT ); Fri, 19 Nov 2021 13:59:08 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9AB1F611C7; Fri, 19 Nov 2021 18:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637348166; bh=bk3bOl+JxohpimwyPU9xloHokPYDmepyPhm6tU/gNb4=; h=Date:From:To:Cc:Subject:From; b=DrbJhRHVMUiX9JG6tIrPcd9ay9wD46wpv2yeA64bKZd8Sd5pz9KstuOFbSBzjx7C5 XVbKruAI7DhcxuZXEhTFy21quDNHkC2X4R6CPBRuV4nKVMfz3E9yhmpMMotJiePPbm Ib+Y0+i4318LXp2N4sGohL6NyRW7hkuRNsLZIXk4A31+w9I5zH8UxECBOe8ny/LjZk NNnQFWViAs/j9anoNkVmEDX6gZnD5bowBONFJwqfELNGykREvtbeyPkk6wtYIswYQY KaL0idG8IVo2Vk4aIzLW8jxZW5sHViMiesa4+9Bc6/XB/lCtiXPFlzCt/HZdqz9wnY EED4iDftf+zXg== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 1273B40002; Fri, 19 Nov 2021 15:56:03 -0300 (-03) Date: Fri, 19 Nov 2021 15:56:03 -0300 From: Arnaldo Carvalho de Melo To: Jonathan Corbet Cc: Daniel Borkmann , Andrii Nakryiko , Alexei Starovoitov , Andrii Nakryiko , Jiri Olsa , bpf , Networking , Linux Kernel Mailing List Subject: [PATCH 1/1 v2] Documentation: Add minimum pahole version Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 Acked-by: Andrii Nakryiko Acked-by: Daniel Borkmann Cc: Alexei Starovoitov Cc: Jiri Olsa Cc: Jonathan Corbet 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 --- Documentation/process/changes.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 ----