linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs/zh_CN: reformat zh_CN/dev-tools/testing-overview
@ 2021-07-23  6:03 Hu Haowen
  2021-07-24  3:48 ` teng sterling
  2021-07-24 13:06 ` [PATCH v2] " Hu Haowen
  0 siblings, 2 replies; 4+ messages in thread
From: Hu Haowen @ 2021-07-23  6:03 UTC (permalink / raw)
  To: alexs, corbet; +Cc: bobwxc, linux-doc, linux-kernel

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] docs/zh_CN: reformat zh_CN/dev-tools/testing-overview
  2021-07-23  6:03 [PATCH] docs/zh_CN: reformat zh_CN/dev-tools/testing-overview Hu Haowen
@ 2021-07-24  3:48 ` teng sterling
  2021-07-24 13:06 ` [PATCH v2] " Hu Haowen
  1 sibling, 0 replies; 4+ messages in thread
From: teng sterling @ 2021-07-24  3:48 UTC (permalink / raw)
  To: Hu Haowen; +Cc: Alex Shi, Jonathan Corbet, Wu X.C., linux-doc, linux-kernel

Hu Haowen <src.res@email.cn> 于2021年7月23日周五 下午2:06写道:
>
> Reorganise several long lines in order to satisfy the kernel coding
> style.
>
> Signed-off-by: Hu Haowen <src.res@email.cn>
Reviewed-by: Yanteng Si <siyanteng@loongson.cn>

Thanks,

Yanteng

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2] docs/zh_CN: reformat zh_CN/dev-tools/testing-overview
  2021-07-23  6:03 [PATCH] docs/zh_CN: reformat zh_CN/dev-tools/testing-overview Hu Haowen
  2021-07-24  3:48 ` teng sterling
@ 2021-07-24 13:06 ` Hu Haowen
  2021-07-25 20:28   ` Jonathan Corbet
  1 sibling, 1 reply; 4+ messages in thread
From: Hu Haowen @ 2021-07-24 13:06 UTC (permalink / raw)
  To: alexs, corbet; +Cc: bobwxc, sterlingteng, linux-doc, linux-kernel

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

Signed-off-by: Hu Haowen <src.res@email.cn>
Reviewed-by: Yanteng Si <siyanteng@loongson.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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] docs/zh_CN: reformat zh_CN/dev-tools/testing-overview
  2021-07-24 13:06 ` [PATCH v2] " Hu Haowen
@ 2021-07-25 20:28   ` Jonathan Corbet
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Corbet @ 2021-07-25 20:28 UTC (permalink / raw)
  To: Hu Haowen, alexs; +Cc: bobwxc, sterlingteng, linux-doc, linux-kernel

Hu Haowen <src.res@email.cn> writes:

> Reorganise several long lines in order to satisfy the kernel coding
> style.
>
> Signed-off-by: Hu Haowen <src.res@email.cn>
> Reviewed-by: Yanteng Si <siyanteng@loongson.cn>
> ---
>  .../zh_CN/dev-tools/testing-overview.rst          | 15 ++++++++-------
>  1 file changed, 8 insertions(+), 7 deletions(-)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-25 20:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23  6:03 [PATCH] docs/zh_CN: reformat zh_CN/dev-tools/testing-overview Hu Haowen
2021-07-24  3:48 ` teng sterling
2021-07-24 13:06 ` [PATCH v2] " Hu Haowen
2021-07-25 20:28   ` Jonathan Corbet

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).