linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hu Haowen <src.res@email.cn>
To: alexs@kernel.org, corbet@lwn.net
Cc: bobwxc@email.cn, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] docs/zh_CN: reformat zh_CN/dev-tools/testing-overview
Date: Fri, 23 Jul 2021 14:03:28 +0800	[thread overview]
Message-ID: <20210723060328.16581-1-src.res@email.cn> (raw)

Reorganise several long lines in order to satisfy the kernel coding
style.

Signed-off-by: Hu Haowen <src.res@email.cn>
---
 .../zh_CN/dev-tools/testing-overview.rst          | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/Documentation/translations/zh_CN/dev-tools/testing-overview.rst b/Documentation/translations/zh_CN/dev-tools/testing-overview.rst
index 8206d5b477e2..b7a1d13da6c6 100644
--- a/Documentation/translations/zh_CN/dev-tools/testing-overview.rst
+++ b/Documentation/translations/zh_CN/dev-tools/testing-overview.rst
@@ -70,13 +70,14 @@ kselftest也因此非常适合于全部功能的测试,因为这些功能会
 确切函数或代码行。这有助于决定内核被测试了多少,或用来查找合适的测试
 中没有覆盖到的极端情况。
 
-Documentation/translations/zh_CN/dev-tools/gcov.rst 是GCC的覆盖率测试工具,能用于获取内核的全局或每个模块的
-覆盖率。与KCOV不同的是,这个工具不记录每个任务的覆盖率。覆盖率数据可
-以通过debugfs读取,并通过常规的gcov工具进行解释。
-
-Documentation/dev-tools/kcov.rst 是能够构建在内核之中,用于在每个任务的层面捕捉覆盖率的一
-个功能。因此,它对于模糊测试和关于代码执行期间信息的其它情况非常有用,
-比如在一个单一系统调用里使用它就很有用。
+Documentation/translations/zh_CN/dev-tools/gcov.rst 是GCC的覆盖率测试
+工具,能用于获取内核的全局或每个模块的覆盖率。与KCOV不同的是,这个工具
+不记录每个任务的覆盖率。覆盖率数据可以通过debugfs读取,并通过常规的
+gcov工具进行解释。
+
+Documentation/dev-tools/kcov.rst 是能够构建在内核之中,用于在每个任务
+的层面捕捉覆盖率的一个功能。因此,它对于模糊测试和关于代码执行期间信
+息的其它情况非常有用,比如在一个单一系统调用里使用它就很有用。
 
 动态分析工具
 ============
-- 
2.25.1


             reply	other threads:[~2021-07-23  6:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23  6:03 Hu Haowen [this message]
2021-07-24  3:48 ` [PATCH] docs/zh_CN: reformat zh_CN/dev-tools/testing-overview teng sterling
2021-07-24 13:06 ` [PATCH v2] " Hu Haowen
2021-07-25 20:28   ` Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210723060328.16581-1-src.res@email.cn \
    --to=src.res@email.cn \
    --cc=alexs@kernel.org \
    --cc=bobwxc@email.cn \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).