From patchwork Mon Nov 21 10:32:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Tao X-Patchwork-Id: 13050584 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 D905DC4332F for ; Mon, 21 Nov 2022 10:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbiKUKcS (ORCPT ); Mon, 21 Nov 2022 05:32:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229633AbiKUKcQ (ORCPT ); Mon, 21 Nov 2022 05:32:16 -0500 Received: from out162-62-57-49.mail.qq.com (out162-62-57-49.mail.qq.com [162.62.57.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41BCA165B1 for ; Mon, 21 Nov 2022 02:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1669026729; bh=AVLSmtrjCex5981fOssTpM+1X687TZMwrJJVa8zPf+Y=; h=From:To:Cc:Subject:Date; b=OqQTowDBTeaboWgEWX/Zf2/IstnrQwAkvnw+8FVeOsz4Sig/iOQOrGlIUXFb4Va/X K/j5gWkNjCoYKnzL6aesQ11m7wQBARi9O6ANMQwH/RBlZp2ewCNQhgUmdkN+mdZH+m 5znyp8y5o+8AX/9bGWPb8tMx6OEKoDfRMyfrPvOA= Received: from rtoax.. ([111.199.191.46]) by newxmesmtplogicsvrszc2-0.qq.com (NewEsmtp) with SMTP id 8049C694; Mon, 21 Nov 2022 18:32:04 +0800 X-QQ-mid: xmsmtpt1669026724thn6meyib Message-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UBVA== 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 v2] docs/bpf: Update btf selftests program and add link Date: Mon, 21 Nov 2022 18:32:03 +0800 X-OQ-MSGID: <20221121103203.3935-1-rtoax@foxmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net 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 --- v2: Update btf selftests program and add link 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..dca0b0e9dd35 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. +Kernel bpf selftest `tools/testing/selftests/bpf/prog_tests/btf.c`_ provides +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