From: Fasiha Ashraf Subject: Fw: About using Oprofile0.9.5 in xen environment Date: Thu, 8 Oct 2009 17:16:36 +0530 (IST) Message-ID: <459314.73392.qm@web94602.mail.in2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1213715723==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen Cc: Xen users List-Id: xen-devel@lists.xenproject.org --===============1213715723== Content-Type: multipart/alternative; boundary="0-738213366-1255002396=:73392" --0-738213366-1255002396=:73392 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I am using oprofile-0.9.5 with xen3.4 an pv os kernel-2.6.30. Linux HPCNL-SR-2 2.6.30-rc6-tip #1 SMP Tue Aug 25 12:26:16 PKST 2009 i686 i= 686 i386 GNU/Linux I just simply installed it using these instructions i don't use any xenopro= f patch. 1- ./configure --with-kernel-support 2- make=20 3- make install these are my opcontrol --status=20 Daemon running: pid 3033 Event 0: CPU_CLK_UNHALTED:100000:0:1:1 Separate options: library vmlinux file: none Image filter: none Call-graph depth: 6 I am profiling netperf activity in dom0. but when i do opreport the followi= ng errors occur. =A01- error: no sample files found: profile specification too strict ? 2- opreport error: No sample file found: try running opcontrol --dump or=0A specify a session containing sample files this is my oprofile log file output ---- Statistics for cpu : 3 Nr. samples lost cpu buffer overflow: 0 Nr. samples received: 0 Nr. backtrace aborted: 0 Nr. samples lost invalid pc: 0 ---- Statistics for cpu : 2 Nr. samples lost cpu buffer overflow: 0 Nr. samples received: 0 Nr. backtrace aborted: 0 Nr. samples lost invalid pc: 0 ---- Statistics for cpu : 1 Nr. samples lost cpu buffer overflow: 0 Nr. samples received: 0 Nr. backtrace aborted: 0 Nr. samples lost invalid pc: 0 ---- Statistics for cpu : 0 Nr. samples lost cpu buffer overflow: 0 Nr. samples received: 0 Nr. backtrace aborted: 0 Nr. samples lost invalid pc: 0 =A0Why is that so.... Why is it not collecting any data samples Regards Fasiha Ashraf =0A Keep up with people you care about with Yahoo! India Mail. Learn = how.=0A=0A=0A Add whatever you love to the Yahoo! India homepage. Try = now! http://in.yahoo.com/trynew --0-738213366-1255002396=:73392 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
=0A
Connect more, do more and share m= ore with Yahoo! India Mail. Learn more. --0-738213366-1255002396=:73392-- --===============1213715723== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1213715723==--


I am using oprofile-0.9.5 with xen3.4 an pv os kernel-2.6.30.Linux HPCNL-SR-2 2.6.30-rc6-tip #1 SMP Tue Aug 25 12:26:16 PKST 2009 i686 = i686 i386 GNU/Linux
I just simply installed it using these instructions = i don't use any xenoprof patch.
1- ./configure --with-kernel-support
2- make
3- ma= ke install
these are my opcontrol --status
Daemon running: pid 3033<= br>Event 0: CPU_CLK_UNHALTED:100000:0:1:1
Separate options: library
vmlinux file= : none
Image filter: none
Call-graph depth: 6
I am profiling netpe= rf activity in dom0. but when i do opreport the following errors occur.
=  1- error: no sample fi= les found: profile specification too strict ?
2- opreport error: No samp= le file found: try running opcontrol --dump
or=0A specify a session cont= aining sample files
this is my oprofile log file output

---- Stat= istics for cpu : 3
Nr. samples lost cpu buffer overflow: 0
Nr. sample= s received: 0
Nr. backtrace aborted: 0
Nr. samples lost invalid pc: 0=

---- Statistics for cpu : 2
Nr. samples lost cpu buffer overflow= : 0
Nr. samples received: 0
Nr. backtrace aborted: 0
Nr. samples l= ost invalid pc: 0

---- Statistics for cpu : 1
Nr. samples lost cp= u buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0=
Nr. samples lost invalid pc: 0

---- Statistics for cpu : 0
Nr= . samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. bac= ktrace aborted: 0
Nr. samples lost invalid pc: 0
 Why is that so= .... Why is it not collecting any data samples

Regards
Fasiha Ash= raf

=0A
Keep up with peop= le you care about with Yahoo! India Mail. Learn how.