From patchwork Tue Nov 22 00:50:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Tao X-Patchwork-Id: 24073 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1926638wrr; Mon, 21 Nov 2022 16:58:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf6HFRbKo9vWmSyiTMoshL8QRPNG8kaRnnQur/MqKgHILKas4OEGkICV3uU9oSAs6RXnFRSm X-Received: by 2002:a17:90a:7f86:b0:218:9ea6:6593 with SMTP id m6-20020a17090a7f8600b002189ea66593mr11807677pjl.196.1669078722133; Mon, 21 Nov 2022 16:58:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669078722; cv=none; d=google.com; s=arc-20160816; b=KRCeZVEadgXjZu7dasAuEMKWJoL2VtEp6gyeLx3PBcXt9xXPHb0qnnc1ScHLZzrdLh 1CWwoIe5zK6YvqZ3KQgP22j9yQAngWnpXctLDJm6B/BkfkBwja6wXsNCgviFkDGmm7eH K6zxcwneTDCf5o7cJlNMZwOIxM8APsJfv2h8OvaQwUksTAbVqU8l4bYu7eVOlCWus+OO akK7qPD6w6nTH4RsAf7QbxqHHnzjw4PsPtWUENFdrqMgWEpiozSWScgQWnZtDTKRM+zw HyHYneps26gHwO5vIoEcl5dDzF+UYUyNTESxsSaKVlofIsO5EA9SDr03Ce8hDQLppAAa JWdw== 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=r7bV6NQJ0Wvg7aEH2rmGraNpQaJqHjO8I3T/UZsCtQ0=; b=htToHfEGYaQ4xwVrgsRKYzI+Ge5D1fPGX3NRe593Xv/gsgpBaARXq6BppWeKzy/6Cd 7K4IGaQ+okhPfWgFHM0lSUjR+N90moqwdPmHcYzC8DsvMdNniIsY5EyWgdFyfIolnViD Sw3jJNFeUUbgcJLeh6myexKK5md6VClNjiGVnVND10dbhwQ/vTOOSlWWxWdByRe+7L7H 7xCUcmMxBd3uFawDnYII1GsqUhtb7REbqCeb7i60D1o1pVVyeCYANNHdKJUl3sJfH3BU /Ay8Mhtr1IGlH7AhotKsTWW3x5SnqHAnBuMyh2tmhWPwcyqc3a6+dr9YF2pq4tNumETP kH3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b=KVhhElW2; 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 d62-20020a633641000000b00476de006c16si12988262pga.723.2022.11.21.16.58.27; Mon, 21 Nov 2022 16:58:42 -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=KVhhElW2; 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 S231630AbiKVAu4 (ORCPT + 99 others); Mon, 21 Nov 2022 19:50:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231848AbiKVAuy (ORCPT ); Mon, 21 Nov 2022 19:50:54 -0500 Received: from out162-62-58-216.mail.qq.com (out162-62-58-216.mail.qq.com [162.62.58.216]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7EF96DCC6; Mon, 21 Nov 2022 16:50:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1669078249; bh=r7bV6NQJ0Wvg7aEH2rmGraNpQaJqHjO8I3T/UZsCtQ0=; h=From:To:Cc:Subject:Date; b=KVhhElW2KkbyuGg9cMxGeRqhum4PUlhQQHt5S4GwshJzOO6MqYIr9uSCDtZ2AymtK EO3pC/QkdBoHMMHdBhkZIrpeqYPDtp2d3f4g2DoA9nc6vGcWcJJUcntAYibBO452lE kkm9obY7CEE4XkfEhjYPk5uS1YEh/QVnNPFUSBUM= Received: from rtoax.. ([111.199.191.46]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id CAB98EC2; Tue, 22 Nov 2022 08:50:43 +0800 X-QQ-mid: xmsmtpt1669078243t4jp9xxjs Message-ID: X-QQ-XMAILINFO: N+tZcXNNUKPO2gWmkXq1HkL3q4fP8lwxYooYr02spnchOJOorAbd4TuYfw6Ls+ s3R0erl5Efn3NAC8Y4waUl9rpw9QHbf+SUQlQ7gVlwNdHFaQbGryYdg3QjFKvN9tKUV/RslECtmE 0Dqh1F7Z4Eu23ro5RC+eUKbR5An4KJ0d7vR4uM2A7QxYFin8qgU6eCjJaSwu/hDNdEU2VTG8TJ/u mY6TAckoP6bPqbcJ9eQ6uBSrT5feJmWw3UJ+01M8qWs7jqQOI2oAlQtq+Ko+spta9AbGgK/YrZDY 0KhCRnQCq3MHWA0KgGZhQfrqtDm7P8IXo2ncbMApanqguD1NwqX69Y1kkWqeujxm1oaFeTPo5HH1 5fWHG58CJ35E97Ekq8DAKn/DSwijk+OVUeCn110+TuVo4e44NdH3321tFS0MfNX2AaS/Q1VVTvkq R1AR87gp6iYZ++GjLI4GhQfztU46o5btHS5ykS4rZjnXkiDXlVYEvj1eQKzvxgdT3f107zUwmmOD WObyf+rPH0yaXvmux78+3PJD/Gee9J73WeBf2DrR1DOdI3RxeUCMhxt2Ms57ee6P8ACcG8OoxJqL rZkG+2esXe3ILkS/Xn2m6jFnrC0f+bxfMsZ7lTHfn6W4ryqBVYPwrRKk83U6I8bRSERRKY5ZmMAs PbSu3yYMmI1CiHtk6mvL07yfwwxQmAec4GodELENWGCFmu8inRNLcKTsGQtl+o8+1hQ0RZ0itDeF dVkr4s3fPNNC/6D/LCKFKq9zPtzvqY5KVGrWXz9lznjgaJXn5ybslx4lMyjwcAoDLyhL7q3EPZIy jDG/CO5vk3NsQdrENLzV2lVb/OUCs0mY5O4txYYfsptWWuTwa1jWOcRJbL8+TwabsK3LRfY1vDcN AzV3oDQLpwk84yRDouGkUrLqP5YsbIniMLPEZpXIZgrm1jdTaJZzxXJYpXlDGgh+6HLP4tW0w6nP JxZEn4gkcZ9lQXremnFooZ+xMgyHBP9+RnfSnL9mcS3E9/XMgZiPS4ySq4op0CaNx6XJPZ9Lk8GQ YrO3zoUQ== 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 v4] docs/bpf: Update btf selftests program and add link Date: Tue, 22 Nov 2022 08:50:42 +0800 X-OQ-MSGID: <20221122005042.4712-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,RCVD_IN_MSPIKE_H2,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?1750155890384363924?= X-GMAIL-MSGID: =?utf-8?q?1750155890384363924?= 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 Acked-by: David Vernet --- v4: v3 -> v4 s/bpf/BPF v3: v2 -> v3 s/Kernel bpf selftest/The kernel BPF selftest s/provides extensive/provides an extensive https://lore.kernel.org/lkml/tencent_C597352AB3AF24A35A88CC06A3421E590B08@qq.com/ 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..7cd7c5415a99 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