This is a Chinese translated version of Documentation/basic_profiling.txt
Signed-off-by: Liang Xie <[email protected]>
---
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 0000000..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 <[email protected]>
+---------------------------------------------------------------------
+Documentation/basic_profiling?????ķ???
+
+?????????ۻ????±??ĵ????ݣ???ֱ?ӷ??ŵ?LKML????????ʹ??Ӣ?Ľ????????ѵĻ???Ҳ??
+???????İ?ά???????????????????????²???ʱ???߷??????????⣬????ϵ???İ?ά???ߡ?
+
+???İ?ά???ߣ? л?? Liang Xie <[email protected]>
+???İ淭???ߣ? л?? Liang Xie <[email protected]>
+???İ?У???ߣ?
+????Ϊ????
+---------------------------------------------------------------------
+
+??????Щ˵??ָ??Ƿdz??????ģ???????????һ???˽????Ķ?????רҵ?ĵ?????
+?벻Ҫ???ڱ??ĵ??????µ????ݣ??????????ĵ??еĴ???????([email protected])
+??л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 output readprofile -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
+
+???õ??õIJ???????????ȷ???????˱???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 output opreport > output_file
+
+????ֻ??kernel???صı??????????????????? opreport -l /boot/vmlinux > output_file
+
+ͨ??resetѡ??????????????ͳ?????ݣ??൱????????Ч????
+
--
1.7.9.6 (Apple Git-31.1)
????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m????????????I?
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 <[email protected]>
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.
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 <[email protected]>
>
> 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
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 <[email protected]>
>>
>> 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.