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
[parent not found: <CADu=CFohGipzitH2=nf2Phu+q+BdFANfseKYO_tM0eSFcNpQsg@mail.gmail.com>]

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