From xlbest@163.com Wed Feb 25 04:52:16 2004 Received: with ECARTIS (v1.0.0; list kernprof); Wed, 25 Feb 2004 04:52:27 -0800 (PST) Received: from 163.com ([202.108.44.214]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1PCqDKO016175 for ; Wed, 25 Feb 2004 04:52:15 -0800 MIME-Version: 1.0 Message-ID: <403C95B4.00000C.24213@bj214.163.com> Date: Wed, 25 Feb 2004 20:31:48 +0800 (CST) From: "xlbest" To: kernprof@oss.sgi.com Subject: =?gb2312?B?L3Byb2MvcHJvZmlsZSA6Tm8gc3VjaCBmaWxl?= X-Priority: 3 X-Originating-IP: [218.94.87.21] X-Mailer: 163com Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by oss.sgi.com id i1PCqDKO016175 X-archive-position: 27 X-ecartis-version: Ecartis v1.0.0 Sender: kernprof-bounce@oss.sgi.com Errors-to: kernprof-bounce@oss.sgi.com X-original-sender: xlbest@163.com Precedence: bulk X-list: kernprof Hi,I want to use kernprof analyse the kernel performance.The steps is following 1> # cd linux-2.4.20 # patch -p1 < profile-0.12.2-2.4.19.patch 2> make menuconfig chooseing " kernel profiling support " " instrument kernel at entry to all c functions " and "limit recursion in entry profiling" in "kernel hacking " . 3> compile the kernel 4> edit lilo.conf and " mknod /dev/profile c 192 0 " 5> reboot and entrying into the new kernel with kernprof patch and load kernprof 6> # kernprof -b cg system show " /proc/profile : No Such file " (Attention: Being /proc/profile ,Not /dev/profile) There are not /proc/profile in dentry of /proc and the dentry created force don't be accecped by system . The gcc of version is 3.2.2 in my PC .So there is no need for patching gcc. Please help me ,Thank you !!! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~网易VIP收费邮箱两周年超值优惠! 满1赠6!!  http://vip.163.com 中国最大的免费邮箱在等你 25兆空间4兆附件!      http://mail.163.com 点击网易泡泡惊喜无限 全免费手机短信任你发!      http://popo.163.com From hawkes@sgi.com Wed Feb 25 08:32:35 2004 Received: with ECARTIS (v1.0.0; list kernprof); Wed, 25 Feb 2004 08:32:38 -0800 (PST) Received: from zok.sgi.com (mtvcafw.SGI.COM [192.48.171.6]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1PGWZKO030694 for ; Wed, 25 Feb 2004 08:32:35 -0800 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by zok.sgi.com (8.12.9/8.12.9/linux-outbound_gateway-1.1) with ESMTP id i1PGWUF6026542 for ; Wed, 25 Feb 2004 08:32:30 -0800 Received: from wrlarun ([198.149.36.12]) by cthulhu.engr.sgi.com (SGI-8.12.5/8.12.5) with SMTP id i1PGWTio14110369; Wed, 25 Feb 2004 08:32:29 -0800 (PST) Message-ID: <034b01c3fbbc$bb31c390$6800a8c0@comcast.net> From: "John Hawkes" To: "xlbest" , References: <403C95B4.00000C.24213@bj214.163.com> Subject: Re: /proc/profile :No such file Date: Wed, 25 Feb 2004 08:30:50 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-archive-position: 28 X-ecartis-version: Ecartis v1.0.0 Sender: kernprof-bounce@oss.sgi.com Errors-to: kernprof-bounce@oss.sgi.com X-original-sender: hawkes@sgi.com Precedence: bulk X-list: kernprof From: "xlbest" > 4> edit lilo.conf and " mknod /dev/profile c 192 0 " > > 5> reboot and entrying into the new kernel with kernprof patch and load kernprof > > 6> # kernprof -b cg > system show " /proc/profile : No Such file " (Attention: Being /proc/profile ,Not /dev/profile) There are not /proc/profile in dentry of /proc and the dentry created force don't be accecped by system . The gcc of version is 3.2.2 in my PC .So there is no need for patching gcc. > Please help me ,Thank you !!! What are you editing lilo.conf to do? Kernprof needs no lilo.conf editing. Kernprof (in a 2.4 kernel) is *not* the same as the standard "readprofile" functionality, which does want you to boot the kernel with "profile=2". Kernprof uses /dev/profile and /proc/profile/* files (the latter being 'created' by the kernel). Kernprof does not use /proc/profile. See http://oss.sgi.com/projects/kernprof/faq.html John Hawkes From therbert@silverbacksystems.com Fri Feb 27 15:48:29 2004 Received: with ECARTIS (v1.0.0; list kernprof); Fri, 27 Feb 2004 15:48:36 -0800 (PST) Received: from dmz1.silverbacksystems.com (dmz1.silverbacksystems.com [65.172.158.82]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1RNmSKO026354 for ; Fri, 27 Feb 2004 15:48:28 -0800 Received: from ns.silverbacksystems.com (gate-camp-hme0.silverbacksystems.com [65.172.158.93]) by dmz1.silverbacksystems.com (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 6EDE6113D3 for ; Fri, 27 Feb 2004 15:47:58 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by ns.silverbacksystems.com (Postfix on SuSE Linux eMail Server 3.0) with ESMTP id F0FC320158 for ; Fri, 27 Feb 2004 15:57:14 -0800 (PST) Received: from ns.silverbacksystems.com (localhost [127.0.0.1]) by localhost (AvMailGate-2.0.1.6) id 01759-37B6D0E4; Fri, 27 Feb 2004 15:57:14 -0800 Received: from silverbacksystems.com (tom.corp.silverbacksystems.com [10.0.16.199]) by ns.silverbacksystems.com (Postfix on SuSE Linux eMail Server 3.0) with ESMTP id B7DF420144 for ; Fri, 27 Feb 2004 15:57:14 -0800 (PST) Message-ID: <403FD77D.2C7C233F@silverbacksystems.com> Date: Fri, 27 Feb 2004 15:49:18 -0800 From: Tom Herbert X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.10-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: kernprof@oss.sgi.com Subject: Unable to download Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.6; AVE: 6.24.0.5; VDF: 6.24.0.22; host: ns.silverbacksystems.com) X-archive-position: 29 X-ecartis-version: Ecartis v1.0.0 Sender: kernprof-bounce@oss.sgi.com Errors-to: kernprof-bounce@oss.sgi.com X-original-sender: therbert@silverbacksystems.com Precedence: bulk X-list: kernprof Hi, I don't seem to be able to get to the download section from the kernprof home page. Is anonymous ftp on oss.sgi.com not working? Thanks Tom Herbert From pj@sgi.com Fri Feb 27 16:21:16 2004 Received: with ECARTIS (v1.0.0; list kernprof); Fri, 27 Feb 2004 16:21:20 -0800 (PST) Received: from omx1.americas.sgi.com (cfcafw.SGI.COM [198.149.23.1]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i1S0LFKO029652 for ; Fri, 27 Feb 2004 16:21:16 -0800 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with ESMTP id i1S0LAak014028 for ; Fri, 27 Feb 2004 18:21:10 -0600 Received: from sam.engr.sgi.com (sam.engr.sgi.com [163.154.6.103]) by cthulhu.engr.sgi.com (SGI-8.12.5/8.12.5) with SMTP id i1S0L9Lp14644638; Fri, 27 Feb 2004 16:21:09 -0800 (PST) Date: Fri, 27 Feb 2004 16:21:09 -0800 From: Paul Jackson To: Tom Herbert Cc: kernprof@oss.sgi.com Subject: Re: Unable to download Message-Id: <20040227162109.25fcf0cd.pj@sgi.com> In-Reply-To: <403FD77D.2C7C233F@silverbacksystems.com> References: <403FD77D.2C7C233F@silverbacksystems.com> Organization: SGI X-Mailer: Sylpheed version 0.9.8 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-archive-position: 30 X-ecartis-version: Ecartis v1.0.0 Sender: kernprof-bounce@oss.sgi.com Errors-to: kernprof-bounce@oss.sgi.com X-original-sender: pj@sgi.com Precedence: bulk X-list: kernprof When something like this came up a month ago, Keith Owens suggested: drop the MTU on your ethernet connection to 1400 and try again. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.650.933.1373