linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
@ 2012-08-26 16:06 liang xie
  2012-08-27 10:15 ` Rob Landley
  0 siblings, 1 reply; 5+ messages in thread
From: liang xie @ 2012-08-26 16:06 UTC (permalink / raw)
  To: Harry Wei; +Cc: linux-doc, linux-kernel, linux-kernel, greg, Rob Landley

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GB2312, Size: 3120 bytes --]

This is a Chinese translated version of Documentation/basic_profiling.txt

Signed-off-by: Liang Xie <xieliang007@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 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 <xieliang@xiaomi.com>
+---------------------------------------------------------------------
+Documentation/basic_profilingµÄÖÐÎÄ·­Òë
+
+Èç¹ûÏëÆÀÂÛ»ò¸üб¾ÎĵÄÄÚÈÝ£¬ÇëÖ±½Ó·¢Ðŵ½LKML¡£Èç¹ûÄãʹÓÃÓ¢ÎĽ»Á÷ÓÐÀ§ÄѵĻ°£¬Ò²¿É
+ÒÔÏòÖÐÎÄ°æά»¤ÕßÇóÖú¡£Èç¹û±¾·­Òë¸üв»¼°Ê±»òÕß·­Òë´æÔÚÎÊÌ⣬ÇëÁªÏµÖÐÎÄ°æά»¤Õß¡£
+
+ÖÐÎÄ°æά»¤Õߣº лÁ¼ Liang Xie <xieliang007@gmail.com>
+ÖÐÎÄ°æ·­ÒëÕߣº лÁ¼ Liang Xie <xieliang007@gmail.com>
+ÖÐÎÄ°æУÒëÕߣº
+ÒÔÏÂΪÕýÎÄ
+---------------------------------------------------------------------
+
+ÏÂÃæÕâЩ˵Ã÷Ö¸ÁÊǷdz£»ù´¡µÄ£¬Èç¹ûÄãÏë½øÒ»²½Á˽âÇëÔĶÁÏà¹ØרҵÎĵµ£º£©
+Çë²»ÒªÔÙÔÚ±¾ÎĵµÔö¼ÓеÄÄÚÈÝ£¬µ«¿ÉÒÔÐÞ¸´ÎĵµÖеĴíÎ󣺣©(mbligh@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 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
+
+ÏëµÃµ½ºÃµÄ²âÁ¿½á¹û£¬ÇëÈ·±£ÆôÓÃÁ˱¾µØ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Ç+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

* Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
  2012-08-26 16:06 [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt liang xie
@ 2012-08-27 10:15 ` Rob Landley
  2012-08-27 13:02   ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Landley @ 2012-08-27 10:15 UTC (permalink / raw)
  To: liang xie; +Cc: Harry Wei, linux-doc, linux-kernel, linux-kernel, greg

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 <xieliang007@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.

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

* Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
  2012-08-27 10:15 ` Rob Landley
@ 2012-08-27 13:02   ` Greg KH
  2012-08-27 23:30     ` Rob Landley
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2012-08-27 13:02 UTC (permalink / raw)
  To: Rob Landley; +Cc: liang xie, Harry Wei, linux-doc, linux-kernel, linux-kernel

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 <xieliang007@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

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

* Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
  2012-08-27 13:02   ` Greg KH
@ 2012-08-27 23:30     ` Rob Landley
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Landley @ 2012-08-27 23:30 UTC (permalink / raw)
  To: Greg KH; +Cc: liang xie, Harry Wei, linux-doc, linux-kernel, linux-kernel

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 <xieliang007@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.

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

* Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt
       [not found] <CADu=CFohGipzitH2=nf2Phu+q+BdFANfseKYO_tM0eSFcNpQsg@mail.gmail.com>
@ 2012-08-26 15:09 ` harryxiyou
  0 siblings, 0 replies; 5+ messages in thread
From: harryxiyou @ 2012-08-26 15:09 UTC (permalink / raw)
  To: liang xie
  Cc: linux-kernel, xiyoulinuxkernelgroup, Harry Wei,
	Greg-Kroah-Hartman, linux-kernel

2012/8/26 liang xie <xieliang007@gmail.com>:
Hi liang,

> This is a Chinese translated version of Documentation/basic_profiling.txt
>

Acked-by: Harry Wei <harryxiyou@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

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

end of thread, other threads:[~2012-08-27 23:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-26 16:06 [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt liang xie
2012-08-27 10:15 ` Rob Landley
2012-08-27 13:02   ` Greg KH
2012-08-27 23:30     ` Rob Landley
     [not found] <CADu=CFohGipzitH2=nf2Phu+q+BdFANfseKYO_tM0eSFcNpQsg@mail.gmail.com>
2012-08-26 15:09 ` harryxiyou

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