From patchwork Mon Nov 21 14:02:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Tao X-Patchwork-Id: 23775 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1609314wrr; Mon, 21 Nov 2022 06:09:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf7yWvkeJH9r3ZvRyAfMhyrEIV1mWuF1JwvoO01e6topzY0a82wtgUd4QnqK4bPixKPI5WoV X-Received: by 2002:a05:6a00:11:b0:56c:a2f1:2783 with SMTP id h17-20020a056a00001100b0056ca2f12783mr20726761pfk.7.1669039767432; Mon, 21 Nov 2022 06:09:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669039767; cv=none; d=google.com; s=arc-20160816; b=TAh6Pnl5AUGQHa1NC9GIAhhj+qveQx++X6ycRv2MgGGqaGqpD69iybVM7njLI3k9E2 Q0gt8lmBLDhj6e+gwy8cgefVhZActzlfVZU66R2OZlwtkXiVZKjUe88zi6oBnZrF7zrb xCk/K8p4pk+8INsA0ZMDiOWtcxhHNwEIdWFu/PDsNB6/Y7SYnXT5z/+sr5hYq/7HDo/I zmE5QHiyxDKoUCIbjccjIc7uE562bCP5T5sER2hQI2XSgHLgZxIl8bNXwYWrV5OL7VL4 ob8YcKn/t5J6NjZ5sa2p15V9pOnO7hoplEHA5+LGY3vFu7Yylk6bR8AMpnRP+YZ79qdV 8OFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :subject:cc:to:from:message-id:dkim-signature; bh=bn5ka49hAzqtQFFXjHtkHtPJpqlVkHmbnMnYIoTX4yA=; b=k5TtJmkskrfq9+eB3Ccg4woCzhqQ3oDbfHl9Ud9iY9QT1EXsDY0ECjACZfSe0GL48T UoEgdEtmtG9UqC2WJLXnH3eRmqRFnn0m76JhZ4MPdJY4pazdLwISIui4PZkYzuYG6MIk nrg9gHy3lU6UQv6JoZKqdUS2ExBntdcbUcxeB+OyppTALSCaOp9GDis2ktMZukckCKbE 6gBenVZTB6Vblqho+V3x28CQc4soaoWzt+lxQmSBA5gsS9FOC9uf8GhwhJUuFvewWbAI AqQbls8yX5YPRaHnrJppmaG5KV+fnsVz/eYklMT2p3db1hH1y7eDuTG29etprpCpi+ry p6fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b="Y/4JtOCx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r3-20020a63ce43000000b0046f9c0d336esi11628270pgi.706.2022.11.21.06.08.57; Mon, 21 Nov 2022 06:09:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b="Y/4JtOCx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbiKUOGP (ORCPT + 99 others); Mon, 21 Nov 2022 09:06:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbiKUOFr (ORCPT ); Mon, 21 Nov 2022 09:05:47 -0500 X-Greylist: delayed 12636 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 21 Nov 2022 06:02:50 PST Received: from out162-62-58-211.mail.qq.com (out162-62-58-211.mail.qq.com [162.62.58.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B4BB1409C; Mon, 21 Nov 2022 06:02:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1669039364; bh=bn5ka49hAzqtQFFXjHtkHtPJpqlVkHmbnMnYIoTX4yA=; h=From:To:Cc:Subject:Date; b=Y/4JtOCxY0PP5v4pUKbFon5NbjAePU+1zqhOC3sfbhxxAxVHNWwFoAriFEviVliiQ Ew2dgciSlzHZd5jfnnDbAEBYqXsch2ZtBVdjENKzmYJQHpqaqEglRhjGDf3Du0daKb MoJ8BssB7P6byfDrRmyV2uFrP+S3B4vkoq6sfOkI= Received: from rtoax.. ([111.199.191.46]) by newxmesmtplogicsvrszc2-1.qq.com (NewEsmtp) with SMTP id A828046; Mon, 21 Nov 2022 22:02:40 +0800 X-QQ-mid: xmsmtpt1669039360t57sjgdme Message-ID: X-QQ-XMAILINFO: MyIXMys/8kCtwFWBpoUX2Wahw3uwiRwEHkyhHuf+mnfOrjsqEs2AH751oanacY gE64ckivM/i3VrzshP/rzhwvUT4YSY7DbNCQwL9ICpHySiH+9nHdnZFpfHQv2T6uNL3Q9OFIcUet viybl6f/uTYoB7zvqty+/UfVbHxnURnB3fsTdo7Iz4/I4ljNmbIYHNAPWND3gXuamosPe8Idlr6e q4C/xqD0p3uMd3bIa4FsMbPtpfyuZbUc/wQeQ7s9KBZJNAc27cTaLdaauZi/vtKLbegWl/uU+aQS yOcR9MkYQiFr2htcZDxFflHwEFpBfr7iUY1M5FQZ47l15iQKxuhjmObrYFC+p0Jc7dpdGYo30jMy e5UymjKrjsGQrpxyRYBCqHkTxM2pOnJocsXAufNR3zq292aNnyagxXfC5kNFHIoursNgPZatlfsC XpFbdiP+jhUINg288ydBO7mMZAvmViQs9dHFDtKt8+VmbZPcVxmE3yl8xsohVJFIwrS/IeryvyPz ya4yvGeKEgWfHpZq7Se6CS5utMcNX7pR64R4yvzmNEekh9bvJ8NGP+ZGcKgpcLipez8w3U6JFVRy 5zyToMH+/0yXNGWRXJFeiO0u43pbYin2yjgT0/xHBLXZVPau4sjA85oNzo2dHNTNP/CdryntkKo7 k+h3wZtVdDsVh+VxS+KQd0z1UCeUb1L90V6AhJEL/La9Lctj2LICgFeFvnaU30l7hdaPjHAzCQj4 ZEmnn98rFISwIL68dKvUsGsHbaD8D74ke/V4W4t+SLHsh3H63i/tpCQhn5COU0/hGuBWW4rvLRsm 1OZvROJY7QTd28Cz5leHq4f9Mrbarm23NPfSjVOncXwEIdyhieS0ed+TsM4vVKLeQXabKOcx/Gy8 /O9eW57iHwXpVEuOGGtBmgUXY9B7dmXsiYD3ZXCxdeytmg5yqBdI0n00NSUkgYls8rGTJEfbHN4P E/QRNEytUI/4qZTHc+J3CkUFNFhaksq5fS4/8Ty+zeOpv22WTU+W6mwIt45kOyhUD1uwW09rGZzR jyipb/AtOFPRIr/YCXaQUyRmiXKVk= From: Rong Tao To: void@manifault.com Cc: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, corbet@lwn.net, daniel@iogearbox.net, haoluo@google.com, john.fastabend@gmail.com, jolsa@kernel.org, kpsingh@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, martin.lau@linux.dev, rongtao@cestc.cn, rtoax@foxmail.com, sdf@google.com, song@kernel.org, yhs@fb.com Subject: [PATCH bpf-next v3] docs/bpf: Update btf selftests program and add link Date: Mon, 21 Nov 2022 22:02:39 +0800 X-OQ-MSGID: <20221121140239.16469-1-rtoax@foxmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, HELO_DYNAMIC_IPADDR,RCVD_IN_DNSWL_NONE,RDNS_DYNAMIC,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750101717662745551?= X-GMAIL-MSGID: =?utf-8?q?1750115043085288644?= From: Rong Tao commit c64779e24e88("selftests/bpf: Merge most of test_btf into test_progs") rename selftests/bpf btf test from 'test_btf.c' to 'prog_tests/btf.c'. Signed-off-by: Rong Tao --- v3: v2 -> v3 s/Kernel bpf selftest/The kernel BPF selftest s/provides extensive/provides an extensive v2: https://lore.kernel.org/lkml/tencent_114656E8259D0AEA2BDB6810E29241995006@qq.com/ v1: https://lore.kernel.org/lkml/tencent_7F84D04F96EBE594CAD5EBD12815A2B00106@qq.com/ --- Documentation/bpf/btf.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst index cf8722f96090..681416c86e81 100644 --- a/Documentation/bpf/btf.rst +++ b/Documentation/bpf/btf.rst @@ -1062,4 +1062,9 @@ format.:: 7. Testing ========== -Kernel bpf selftest `test_btf.c` provides extensive set of BTF-related tests. +The kernel bpf selftest `tools/testing/selftests/bpf/prog_tests/btf.c`_ +provides an extensive set of BTF-related tests. + +.. Links +.. _tools/testing/selftests/bpf/prog_tests/btf.c: + https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/prog_tests/btf.c