Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp952999pxy; Thu, 22 Apr 2021 18:24:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNY9txaxbjLaNYP5Ugv/6cktuGoVfRfw1JlVji9krrW/LMdiM20HbprEDS9RnWXO+617Z6 X-Received: by 2002:a63:6805:: with SMTP id d5mr1374264pgc.273.1619141088652; Thu, 22 Apr 2021 18:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619141088; cv=none; d=google.com; s=arc-20160816; b=SXE/vQyuDvasRK9Z0NQHMgZXvn9ZK5uOFTH3kawFKac4+N07RgLFFWkj5UGqBtYq/h WsAajjEAB3QYseR+FiY+03MtxQro5TiBjY5hQJDL8C2r6qIhDGgDkBh3qu3nsFKpjQVk KDDxXH/GUT/3fKAOYDL2pBsXNVJY0EpwXHijeVRn0We7hLjWCpGoI0cHF26q9uUwX2Dx R9tGR2Km26K84qeKf7UgUrLH7tCaUuBxkt5w3WrQdLpcV9hZQl9+mXPUrv5IB5Lgcuw4 Ave70nm2f/BAFtK3kDgX3v4bd0N4+wDv4rhntzztATRcLvaSCujPvf+w0MHen0XGhfW/ 8Aeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=pg01qnIpduZanvQUzlNWVxLVYEMAHuCXvcOrLuczqus=; b=lhOrnp0sXCyJj4FEBMiwzoT5949CcOqht4YkAQLf0PlxvDtc4e6pd5E0UEIYiU3SdD LmmDGcUDmBq8eQWTtx+nIeeVeZUbIARryQ2LdRnV6RL8QKuHekhXASDapwEVADe60aOU MUDeiR+bEcSZlTNWQW99yOUNm53oHBUeu7op10yZ3SX74Rn4VxB+4EjMqr06uRsZ+uSE lD7IiZjqn+GIUJNru3vQj0cvpXXXFcsCTpGrNcy2odu16MyD3o4jQxXIIIL/K69CPpO/ PsQRRK5umlRyCrFSbWkGl839L2A2L5+HOlQNi1y6p1C3pJEaqNNnE+Sh+aOzTppJRFUI 7ZcQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si5403156pgv.241.2021.04.22.18.24.36; Thu, 22 Apr 2021 18:24:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236880AbhDWBYX (ORCPT + 99 others); Thu, 22 Apr 2021 21:24:23 -0400 Received: from mail.loongson.cn ([114.242.206.163]:46838 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229888AbhDWBYX (ORCPT ); Thu, 22 Apr 2021 21:24:23 -0400 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx3+2TIYJgBqgMAA--.4792S2; Fri, 23 Apr 2021 09:23:32 +0800 (CST) From: Tiezhu Yang To: Jonathan Corbet , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh Cc: Arnaldo Carvalho de Melo , linux-doc@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li Subject: [PATCH bpf-next] bpf: Document the pahole release info related to libbpf in bpf_devel_QA.rst Date: Fri, 23 Apr 2021 09:23:30 +0800 Message-Id: <1619141010-12521-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQ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1UYxBIda VFxhVjvjDU0xZFpf9x0JUChFxUUUUU= X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pahole starts to use libbpf definitions and APIs since v1.13 after the commit 21507cd3e97b ("pahole: add libbpf as submodule under lib/bpf"). It works well with the git repository because the libbpf submodule will use "git submodule update --init --recursive" to update. Unfortunately, the default github release source code does not contain libbpf submodule source code and this will cause build issues, the tarball from https://git.kernel.org/pub/scm/devel/pahole/pahole.git/ is same with github, you can get the source tarball with corresponding libbpf submodule codes from https://fedorapeople.org/~acme/dwarves This change documents the above issues to give more information so that we can get the tarball from the right place, early discussion is here: https://lore.kernel.org/bpf/2de4aad5-fa9e-1c39-3c92-9bb9229d0966@loongson.cn/ Signed-off-by: Tiezhu Yang --- Documentation/bpf/bpf_devel_QA.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/bpf/bpf_devel_QA.rst b/Documentation/bpf/bpf_devel_QA.rst index d05e67e..253496a 100644 --- a/Documentation/bpf/bpf_devel_QA.rst +++ b/Documentation/bpf/bpf_devel_QA.rst @@ -449,6 +449,19 @@ from source at https://github.com/acmel/dwarves +pahole starts to use libbpf definitions and APIs since v1.13 after the +commit 21507cd3e97b ("pahole: add libbpf as submodule under lib/bpf"). +It works well with the git repository because the libbpf submodule will +use "git submodule update --init --recursive" to update. + +Unfortunately, the default github release source code does not contain +libbpf submodule source code and this will cause build issues, the tarball +from https://git.kernel.org/pub/scm/devel/pahole/pahole.git/ is same with +github, you can get the source tarball with corresponding libbpf submodule +codes from + +https://fedorapeople.org/~acme/dwarves + Some distros have pahole version 1.16 packaged already, e.g. Fedora, Gentoo. -- 2.1.0