you patches be merged in next
tree. Since I have translate the zh reporting-issues.rst in the next tree,
will correct the link when I sync it with your new version. May cause
Warning for some days, but don't worry about it.
Wu X.C.
> Documentation/translations/it_IT/process/howto.rst:Il file
&
OBJ=$(cd $KOBJ; printf "all:\n\t@echo \${CURDIR}\n" | make -f -)
> +
> +find $KSRC $KOBJ \( -name '*.gcno' -o -name '*.[ch]' -o -type l \) -a \
> + -perm /u+r,g+r | tar cfz $DEST -P -T -
> +
> +if [ $? -eq 0 ] ; then
> + echo "$DEST successfully created, copy to test system and unpack with:"
> + echo " tar xfz $DEST -P"
> +else
> + echo "Could not create file $DEST"
> +fi
> +
> +
> +附录B:collect_on_test.sh
> +-
> +
> +用于在测试设备上收集覆盖里统计数据数据文件的示例脚本
Missed "(see 6b):"
This tag seems not good, but just follow it.
> +
> +.. code-block:: sh
> +
> +#!/bin/bash -e
> +
> +DEST=$1
> +GCDA=/sys/kernel/debug/gcov
> +
> +if [ -z "$DEST" ] ; then
> + echo "Usage: $0 " >&2
> + exit 1
> +fi
> +
> +TEMPDIR=$(mktemp -d)
> +echo Collecting data..
> +find $GCDA -type d -exec mkdir -p $TEMPDIR/\{\} \;
> +find $GCDA -name '*.gcda' -exec sh -c 'cat < $0 > '$TEMPDIR'/$0' {} \;
> +find $GCDA -name '*.gcno' -exec sh -c 'cp -d $0 '$TEMPDIR'/$0' {} \;
> +tar czf $DEST -C $TEMPDIR sys
> +rm -rf $TEMPDIR
> +
> +echo "$DEST successfully created, copy to build system and unpack with:"
> +echo " tar xfz $DEST"
>
Thanks!
Wu X.C.
something in
the future, it would may need add another script. Or just a tool which
show the relative information and let translator add it by themselves?
But to be honest, I'd like to make the tool could have more functions in
the future. Like auto start worlflow etc. More and more people wil
eed a script in the kernel tree for this; it
> seems like what you really want is some sort of git commit hook. That
> said, if you come up with something useful, we can certainly find a
> place for it.
Emmm, thought again.
Maybe we just need a doc to tell people recommended practice, just put a
script or hook in the doc.
Use it or not, depend on themselves. That's may easier, but I'm worried
about whether this loose approach will work better.
Thanks!
Wu X.C.
signature.asc
Description: PGP signature
On Wed, Apr 14, 2021 at 10:07:55PM -0700, Fangrui Song wrote:
> Reviewed-by: Fangrui Song
>
> Inlined some suggestions.
Thanks for your review!
>
> On 2021-04-14, Alex Shi wrote:
> > Reviewed-by: Alex Shi
> >
> > On 2021/4/14 下午9:21, Wu XiangCheng wrote:
> > > From: Bernard Zhao
> > >
> >
On Thu, Apr 15, 2021 at 04:01:55AM +, Zengtao (B) wrote:
> > -邮件原件-
> > 发件人: Wu XiangCheng [mailto:bob...@email.cn]
> > 发送时间: 2021年4月14日 21:21
> > 收件人: Alex Shi ; Bernard Zhao
> > 抄送: Jonathan Corbet ; YanTeng Si
> > ; Nathan Chancellor ; Nick
> > Desaulniers ; linux-...@vger.kernel.or
On Wed, Apr 07, 2021 at 10:20:57AM +0200, Mauro Carvalho Chehab wrote:
> transaltions -> translations
>
> Signed-off-by: Mauro Carvalho Chehab
Thanks!
Acked-by: Wu XiangCheng
> ---
> Documentation/translations/zh_CN/process/8.Conclusion.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletio
ttp://test.kernel.org/bugzilla/faq.html
>
> -内核源码主目录中的:ref:`admin-guide/reporting-bugs.rst `
> +内核源码主目录中的:ref:`admin-guide/reporting-issues.rst `
> 文件里有一个很好的模板。它指导用户如何报告可能的内核bug以及需要提供哪些信息
> 来帮助内核开发者们找到问题的根源。
>
> --
> 2.30.2
Thanks!
Wu X.C.
ev-tools gcov
>
> Signed-off-by: Bernard Zhao
> Reviewed-by: Wu X.C
^
This reviewed-by tag is invalid.
Please do not pick review-by tag before one give it.
> ---
> Changes since V1:
> * add index.rst in dev-tools and link to to zh_C
9 matches
Mail list logo