Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
On 08/27/2012 08:02 AM, Greg KH wrote: > On Mon, Aug 27, 2012 at 05:15:06AM -0500, Rob Landley wrote: >> On 08/26/2012 11:06 AM, liang xie wrote: >>> This is a Chinese translated version of Documentation/basic_profiling.txt >>> >>> Signed-off-by: Liang Xie >> >> Not speaking Chinese, there's nothing useful I can say about this. >> >> What is the path something like this takes into the kernel? (Am I >> expected to forward it, or I can I add an X: line to MAINTAINERS to >> filter out my CC for this directory?) > > For historical reasons, I seem to be the one handling the patches for > these types of translated files. > > I don't mind to continue to do this, unless you wish to do it? I'm happy for you to continue handling the translation. As I said, I can't provide any useful review here. I have a nefarious scheme to reorganize the Documentation directory when I get an uninterrupted block of time to work on it, at which point I might want to collate all the translations under some kind of Documentation/translations directory. Gotta ship a thing at work first, though. Thanks, Rob -- GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code. Either it's "mere aggregation", or a license violation. Pick one. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
On Mon, Aug 27, 2012 at 05:15:06AM -0500, Rob Landley wrote: > On 08/26/2012 11:06 AM, liang xie wrote: > > This is a Chinese translated version of Documentation/basic_profiling.txt > > > > Signed-off-by: Liang Xie > > Not speaking Chinese, there's nothing useful I can say about this. > > What is the path something like this takes into the kernel? (Am I > expected to forward it, or I can I add an X: line to MAINTAINERS to > filter out my CC for this directory?) For historical reasons, I seem to be the one handling the patches for these types of translated files. I don't mind to continue to do this, unless you wish to do it? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
On 08/26/2012 11:06 AM, liang xie wrote: > This is a Chinese translated version of Documentation/basic_profiling.txt > > Signed-off-by: Liang Xie Not speaking Chinese, there's nothing useful I can say about this. What is the path something like this takes into the kernel? (Am I expected to forward it, or I can I add an X: line to MAINTAINERS to filter out my CC for this directory?) Rob -- GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code. Either it's "mere aggregation", or a license violation. Pick one. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
On 08/26/2012 11:06 AM, liang xie wrote: This is a Chinese translated version of Documentation/basic_profiling.txt Signed-off-by: Liang Xie xieliang...@gmail.com Not speaking Chinese, there's nothing useful I can say about this. What is the path something like this takes into the kernel? (Am I expected to forward it, or I can I add an X: line to MAINTAINERS to filter out my CC for this directory?) Rob -- GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code. Either it's mere aggregation, or a license violation. Pick one. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
On Mon, Aug 27, 2012 at 05:15:06AM -0500, Rob Landley wrote: On 08/26/2012 11:06 AM, liang xie wrote: This is a Chinese translated version of Documentation/basic_profiling.txt Signed-off-by: Liang Xie xieliang...@gmail.com Not speaking Chinese, there's nothing useful I can say about this. What is the path something like this takes into the kernel? (Am I expected to forward it, or I can I add an X: line to MAINTAINERS to filter out my CC for this directory?) For historical reasons, I seem to be the one handling the patches for these types of translated files. I don't mind to continue to do this, unless you wish to do it? thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
On 08/27/2012 08:02 AM, Greg KH wrote: On Mon, Aug 27, 2012 at 05:15:06AM -0500, Rob Landley wrote: On 08/26/2012 11:06 AM, liang xie wrote: This is a Chinese translated version of Documentation/basic_profiling.txt Signed-off-by: Liang Xie xieliang...@gmail.com Not speaking Chinese, there's nothing useful I can say about this. What is the path something like this takes into the kernel? (Am I expected to forward it, or I can I add an X: line to MAINTAINERS to filter out my CC for this directory?) For historical reasons, I seem to be the one handling the patches for these types of translated files. I don't mind to continue to do this, unless you wish to do it? I'm happy for you to continue handling the translation. As I said, I can't provide any useful review here. I have a nefarious scheme to reorganize the Documentation directory when I get an uninterrupted block of time to work on it, at which point I might want to collate all the translations under some kind of Documentation/translations directory. Gotta ship a thing at work first, though. Thanks, Rob -- GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code. Either it's mere aggregation, or a license violation. Pick one. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
This is a Chinese translated version of Documentation/basic_profiling.txt Signed-off-by: Liang Xie --- Documentation/zh_CN/basic_profiling.txt | 71 +++ 1 files changed, 71 insertions(+), 0 deletions(-) create mode 100755 Documentation/zh_CN/basic_profiling.txt diff --git a/Documentation/zh_CN/basic_profiling.txt b/Documentation/zh_CN/basic_profiling.txt new file mode 100755 index 000..3105eaf --- /dev/null +++ b/Documentation/zh_CN/basic_profiling.txt @@ -0,0 +1,71 @@ +Chinese translated version of Documentation/basic_profiling + +If you have any comment or update to the content, please post to LKML directly. +However, if you have problem communicating in English you can also ask the +Chinese maintainer for help. Contact the Chinese maintainer, if this +translation is outdated or there is problem with translation. + +Chinese maintainer: Liang Xie +- +Documentation/basic_profiling的中文翻译 + +如果想评论或更新本文的内容,请直接发信到LKML。如果你使用英文交流有困难的话,也可 +以向中文版维护者求助。如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。 + +中文版维护者: 谢良 Liang Xie +中文版翻译者: 谢良 Liang Xie +中文版校译者: +以下为正文 +- + +下面这些说明指令都是非常基础的,如果你想进一步了解请阅读相关专业文档:) +请不要再在本文档增加新的内容,但可以修复文档中的错误:)(mbl...@aracnet.com) +感谢John Levon,Dave Hansen等在撰写时的帮助 + + 用于表示要测量的目标 +请先确保您已经有正确的System.map / vmlinux配置! + +对于linux系统来说,配置vmlinuz最容易的方法可能就是使用“make install”,然后修改 +/sbin/installkernel将vmlinux拷贝到/boot目录,而System.map通常是默认安装好的 + +Readprofile +--- +2.6系列内核需要版本相对较新的readprofile,比如util-linux 2.12a中包含的,可以从: + +http://www.kernel.org/pub/linux/utils/util-linux/ 下载 + +大部分linux发行版已经包含了. + +启用readprofile需要在kernel启动命令行增加”profile=2“ + +clear readprofile -r + +dump outputreadprofile -m /boot/System.map > captured_profile + +Oprofile + + +从http://oprofile.sourceforge.net/获取源代码(请参考Changes以获取匹配的版本) +在kernel启动命令行增加“idle=poll” + +配置CONFIG_PROFILING=y和CONFIG_OPROFILE=y然后重启进入新kernel + +./configure --with-kernel-support +make install + +想得到好的测量结果,请确保启用了本地APIC特性。如果opreport显示有0Hz CPU, +说明APIC特性没有开启。另外注意idle=poll选项可能有损性能。 + +One time setup: + opcontrol --setup --vmlinux=/boot/vmlinux + +clear opcontrol --reset +start opcontrol --start + +stop opcontrol --stop +dump outputopreport > output_file + +如果只看kernel相关的报告结果,请运行命令 opreport -l /boot/vmlinux > output_file + +通过reset选项可以清理过期统计数据,相当于重启的效果。 + -- 1.7.9.6 (Apple Git-31.1)
Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
2012/8/26 liang xie : Hi liang, > This is a Chinese translated version of Documentation/basic_profiling.txt > Acked-by: Harry Wei First, thanks for your patch for tanslating this Documentation/basic_profiling.txt. But i think you'd better give a cc'ed to Greg Kroah-Hartman and LKML. After lots of programmer's review, it will be patched to kernel. -- Thanks Harry Wei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
2012/8/26 liang xie xieliang...@gmail.com: Hi liang, This is a Chinese translated version of Documentation/basic_profiling.txt Acked-by: Harry Wei harryxi...@gmail.com First, thanks for your patch for tanslating this Documentation/basic_profiling.txt. But i think you'd better give a cc'ed to Greg Kroah-Hartman and LKML. After lots of programmer's review, it will be patched to kernel. -- Thanks Harry Wei -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
This is a Chinese translated version of Documentation/basic_profiling.txt Signed-off-by: Liang Xie xieliang...@gmail.com --- Documentation/zh_CN/basic_profiling.txt | 71 +++ 1 files changed, 71 insertions(+), 0 deletions(-) create mode 100755 Documentation/zh_CN/basic_profiling.txt diff --git a/Documentation/zh_CN/basic_profiling.txt b/Documentation/zh_CN/basic_profiling.txt new file mode 100755 index 000..3105eaf --- /dev/null +++ b/Documentation/zh_CN/basic_profiling.txt @@ -0,0 +1,71 @@ +Chinese translated version of Documentation/basic_profiling + +If you have any comment or update to the content, please post to LKML directly. +However, if you have problem communicating in English you can also ask the +Chinese maintainer for help. Contact the Chinese maintainer, if this +translation is outdated or there is problem with translation. + +Chinese maintainer: Liang Xie xieli...@xiaomi.com +- +Documentation/basic_profiling的中文翻译 + +如果想评论或更新本文的内容,请直接发信到LKML。如果你使用英文交流有困难的话,也可 +以向中文版维护者求助。如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。 + +中文版维护者: 谢良 Liang Xie xieliang...@gmail.com +中文版翻译者: 谢良 Liang Xie xieliang...@gmail.com +中文版校译者: +以下为正文 +- + +下面这些说明指令都是非常基础的,如果你想进一步了解请阅读相关专业文档:) +请不要再在本文档增加新的内容,但可以修复文档中的错误:)(mbl...@aracnet.com) +感谢John Levon,Dave Hansen等在撰写时的帮助 + +test 用于表示要测量的目标 +请先确保您已经有正确的System.map / vmlinux配置! + +对于linux系统来说,配置vmlinuz最容易的方法可能就是使用“make install”,然后修改 +/sbin/installkernel将vmlinux拷贝到/boot目录,而System.map通常是默认安装好的 + +Readprofile +--- +2.6系列内核需要版本相对较新的readprofile,比如util-linux 2.12a中包含的,可以从: + +http://www.kernel.org/pub/linux/utils/util-linux/ 下载 + +大部分linux发行版已经包含了. + +启用readprofile需要在kernel启动命令行增加”profile=2“ + +clear readprofile -r + test +dump outputreadprofile -m /boot/System.map captured_profile + +Oprofile + + +从http://oprofile.sourceforge.net/获取源代码(请参考Changes以获取匹配的版本) +在kernel启动命令行增加“idle=poll” + +配置CONFIG_PROFILING=y和CONFIG_OPROFILE=y然后重启进入新kernel + +./configure --with-kernel-support +make install + +想得到好的测量结果,请确保启用了本地APIC特性。如果opreport显示有0Hz CPU, +说明APIC特性没有开启。另外注意idle=poll选项可能有损性能。 + +One time setup: + opcontrol --setup --vmlinux=/boot/vmlinux + +clear opcontrol --reset +start opcontrol --start + test +stop opcontrol --stop +dump outputopreport output_file + +如果只看kernel相关的报告结果,请运行命令 opreport -l /boot/vmlinux output_file + +通过reset选项可以清理过期统计数据,相当于重启的效果。 + -- 1.7.9.6 (Apple Git-31.1)