答复: [PATCH v5] docs/zh_CN: add translations in zh_CN/dev-tools/gcov

From: Zengtao (B)
Date: Thu Apr 15 2021 - 00:02:04 EST


> -----邮件原件-----
> 发件人: Wu XiangCheng [mailto:bobwxc@xxxxxxxx]
> 发送时间: 2021年4月14日 21:21
> 收件人: Alex Shi <alexs@xxxxxxxxxx>; Bernard Zhao <bernard@xxxxxxxx>
> 抄送: Jonathan Corbet <corbet@xxxxxxx>; YanTeng Si
> <sterlingteng@xxxxxxxxx>; Nathan Chancellor <nathan@xxxxxxxxxx>; Nick
> Desaulniers <ndesaulniers@xxxxxxxxxx>; linux-doc@xxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; clang-built-linux@xxxxxxxxxxxxxxxx
> 主题: [PATCH v5] docs/zh_CN: add translations in zh_CN/dev-tools/gcov
>
> From: Bernard Zhao <bernard@xxxxxxxx>
>
> Add new zh translations
> * zh_CN/dev-tools/gcov.rst
> * zh_CN/dev-tools/index.rst
> and link them to zh_CN/index.rst
>
> Signed-off-by: Bernard Zhao <bernard@xxxxxxxx>
> Reviewed-by: Wu XiangCheng <bobwxc@xxxxxxxx>
> Signed-off-by: Wu XiangCheng <bobwxc@xxxxxxxx>
> ---
> base: linux-next
> commit 269dd42f4776 ("docs/zh_CN: add riscv to zh_CN index")
>
> Changes since V4:
> * modified some words under Alex Shi's advices
>
> Changes since V3:
> * update to newest linux-next
> * fix ``
> * fix tags
> * fix list indent
>
> Changes since V2:
> * fix some inaccurate translation
>
> Changes since V1:
> * add index.rst in dev-tools and link to to zh_CN/index.rst
> * fix some inaccurate translation
>
> .../translations/zh_CN/dev-tools/gcov.rst | 265 ++++++++++++++++++
> .../translations/zh_CN/dev-tools/index.rst | 35 +++
> Documentation/translations/zh_CN/index.rst | 1 +
> 3 files changed, 301 insertions(+)
> create mode 100644 Documentation/translations/zh_CN/dev-tools/gcov.rst
> create mode 100644 Documentation/translations/zh_CN/dev-tools/index.rst
>
> diff --git a/Documentation/translations/zh_CN/dev-tools/gcov.rst
> b/Documentation/translations/zh_CN/dev-tools/gcov.rst
> new file mode 100644
> index 000000000000..7515b488bc4e
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/dev-tools/gcov.rst
> @@ -0,0 +1,265 @@
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/dev-tools/gcov.rst
> +:Translator: 赵军奎 Bernard Zhao <bernard@xxxxxxxx>
> +
> +在Linux内核里使用gcov做代码覆盖率检查
> +=====================================
> +
> +gcov是linux中已经集成的一个分析模块,该模块在内核中对GCC的代码
> 覆盖率统

Gcov is a tool/function, misleading for " gcov是linux中已经集成的一个分析
模块"

I 'd suggest:
"Linux内核中已经集成一个特性支持gcov功能,该特性让用户可以使用gcov
工具对内核代码覆盖率进行统计"

Thanks.