From patchwork Wed Jan 12 20:15:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonghong Song X-Patchwork-Id: 12711930 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE6C9C433EF for ; Wed, 12 Jan 2022 20:15:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350751AbiALUP3 (ORCPT ); Wed, 12 Jan 2022 15:15:29 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:52052 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1350686AbiALUP2 (ORCPT ); Wed, 12 Jan 2022 15:15:28 -0500 Received: from pps.filterd (m0001303.ppops.net [127.0.0.1]) by m0001303.ppops.net (8.16.1.2/8.16.1.2) with ESMTP id 20CIVHkU020230 for ; Wed, 12 Jan 2022 12:15:28 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=facebook; bh=+XbZuVMKCoqzMy29o8hBVHTjcjeO0FrrW6O3oFKp3nA=; b=AmEbwzkE/AWg+kCTTPZz0tjsrQt3p3+zeggfw5drUz5Qz/aunbILHA2cJoy9Kqtk2BfW H8LKMHej23Xv1m/XLiSVvpGNwtREKA4Ma1zydom0vj4fiDUssjhU5PYRwvSifd7ym5KA Z9S77cpwOMIWwx+m9n/GWsqvjoVT4rYLgDU= Received: from mail.thefacebook.com ([163.114.132.120]) by m0001303.ppops.net (PPS) with ESMTPS id 3dj4b90n50-20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 12 Jan 2022 12:15:27 -0800 Received: from twshared21922.14.frc2.facebook.com (2620:10d:c085:208::f) by mail.thefacebook.com (2620:10d:c085:11d::4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 12 Jan 2022 12:15:22 -0800 Received: by devbig309.ftw3.facebook.com (Postfix, from userid 128203) id DDE5C4FCA207; Wed, 12 Jan 2022 12:15:17 -0800 (PST) From: Yonghong Song To: Alexei Starovoitov , Andrii Nakryiko , , Daniel Borkmann , Linus Torvalds CC: Arnaldo Carvalho de Melo , "Jose E . Marchesi" , , Masami Hiramatsu Subject: [PATCH bpf-next v2 5/5] selftests/bpf: specify pahole version requirement for btf_tag test Date: Wed, 12 Jan 2022 12:15:17 -0800 Message-ID: <20220112201517.1633142-1-yhs@fb.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220112201449.1620763-1-yhs@fb.com> References: <20220112201449.1620763-1-yhs@fb.com> MIME-Version: 1.0 X-FB-Internal: Safe X-Proofpoint-GUID: bZDeTyyaPcBdX8AS41F-EA_X57PVxx18 X-Proofpoint-ORIG-GUID: bZDeTyyaPcBdX8AS41F-EA_X57PVxx18 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-12_05,2022-01-11_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=fb_outbound_notspam policy=fb_outbound score=0 priorityscore=1501 impostorscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 malwarescore=0 clxscore=1015 phishscore=0 mlxscore=0 mlxlogscore=964 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201120119 X-FB-Internal: deliver Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net Specify pahole version requirement (1.23) for btf_tag subtests btf_type_tag_user_{mod1, mod2, vmlinux}. Signed-off-by: Yonghong Song --- tools/testing/selftests/bpf/README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/bpf/README.rst b/tools/testing/selftests/bpf/README.rst index 42ef250c7acc..d099d91adc3b 100644 --- a/tools/testing/selftests/bpf/README.rst +++ b/tools/testing/selftests/bpf/README.rst @@ -206,6 +206,8 @@ btf_tag test and Clang version The btf_tag selftest requires LLVM support to recognize the btf_decl_tag and btf_type_tag attributes. They are introduced in `Clang 14` [0_, 1_]. +The subtests ``btf_type_tag_user_{mod1, mod2, vmlinux}`` also requires +pahole version ``1.23``. Without them, the btf_tag selftest will be skipped and you will observe: