<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-3784</id>
	<title>Nabble - OProfile</title>
	<updated>2009-11-30T11:20:42Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/OProfile-f3784.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OProfile-f3784.html" />
	<subtitle type="html">OProfile is a low-overhead, transparent profiler for Linux, capable of instruction-grain profiling of all processes, shared libraries, the kernel and device drivers, via  the hardware performance counters. OProfile home is &lt;a href=&quot;http://sourceforge.net/projects/oprofile/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26580383</id>
	<title>Re: question about oprofile on andriod mobile phone</title>
	<published>2009-11-30T11:20:42Z</published>
	<updated>2009-11-30T11:20:42Z</updated>
	<author>
		<name>Maynard Johnson</name>
	</author>
	<content type="html">hotstuff93 wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; hi, I'm new to android world and now I need to use oprofile on android mobile
&lt;br&gt;&amp;gt; phone. However, I got some problems. 
&lt;br&gt;&amp;gt; Followed is what I did:
&lt;br&gt;&amp;gt; 1)use adb shell to run this command on the phone
&lt;br&gt;&amp;gt; opcontrol --setup
&lt;br&gt;&amp;gt; opcontrol --event=CPU_CYCLES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; opcontrol --start
&lt;br&gt;&amp;gt; opcontrol --stop
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2)after doing this, I can find the log file in /data/oprofile, and then I
&lt;br&gt;&amp;gt; need to analyse it on Linux(REHL) PC
&lt;br&gt;&amp;gt; &amp;nbsp;I used &amp;quot;adb pull /data/oprofile [dest folder]&amp;quot; to pull the sample files
&lt;br&gt;&amp;gt; from the android phone
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 3) then I use opreport
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;opreport --session-dir=[dest folder] -p [symbols file]
&lt;br&gt;&amp;gt; But I get errors like this 
&lt;br&gt;&amp;gt; opreport error: Invalid sample file, bad magic number:
&lt;/div&gt;Probably a different ABI format for the sample file on your PC compared to 
&lt;/div&gt;android. &amp;nbsp;The opimport program can be used to convert it. &amp;nbsp;Attached is a script 
&lt;br&gt;I've used to convert all sample files in a profile collection.
&lt;br&gt;&lt;br&gt;-Maynard
&lt;br&gt;&amp;gt; android/external/oprofile/result_3/samples/current/{kern}/no-vmlinux/{dep}/{kern}/no-vmlinux/CPU_CYCLES.150000.0.all.all.all
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I found several posts here which is quite similar with it. But still don't
&lt;br&gt;&amp;gt; know exactly how to solve it. Can anyone kindly help me? Thanks in advance.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br /&gt;#!/bin/bash
&lt;br&gt;&lt;br&gt;# NOTE: Start from the &amp;quot;samples&amp;quot; directory containing the &amp;quot;current&amp;quot; directory
&lt;br&gt;# to be imported
&lt;br&gt;&lt;br&gt;mkdir current-imported
&lt;br&gt;cd current-imported; (cd ../current; find . -type d ! -name .) |xargs mkdir
&lt;br&gt;cd ../current; find . -type f | while read line; do opimport -a /var/lib/oprofile/abi -o ../current-imported/$line $line; done
&lt;br&gt;&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580383&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/question-about-oprofile-on-andriod-mobile-phone-tp26535858p26580383.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26577312</id>
	<title>RE: Got 'unknown' in oprofile/xenoprofile report</title>
	<published>2009-11-30T08:12:41Z</published>
	<updated>2009-11-30T08:12:41Z</updated>
	<author>
		<name>Santos, Jose Renato G</name>
	</author>
	<content type="html">xen-unknown corresponds to samples for code in xen which is not mapped to a symbol by the Xen image.
&lt;br&gt;This is usually associated with dynamic code executed from the stack which xen uses on hypercall entry and exit.
&lt;br&gt;That is normal behavior
&lt;br&gt;&lt;br&gt;Renato
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Joe Hewitt [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26577312&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe.z.hewitt@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Sunday, November 29, 2009 7:24 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26577312&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Got 'unknown' in oprofile/xenoprofile report
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I'm using oprofile 0.9.5 with xenoprofile patch. I did some 
&lt;br&gt;&amp;gt; passive profiling and noticed 'xen-unknown' in my report but 
&lt;br&gt;&amp;gt; don't have a clue how to explain it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Host OpenSuse 11.1, kernel 2.6.27.37, xen 3.3.1 Guest 
&lt;br&gt;&amp;gt; OpenSuse 11.1, kernel 2.6.27.29
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Commands issued:
&lt;br&gt;&amp;gt; Dom0&amp;gt; opcontrol --reset
&lt;br&gt;&amp;gt; Dom0&amp;gt; &amp;nbsp;opcontrol --start-daemon
&lt;br&gt;&amp;gt; --xen=/boot/xen-syms-3.3.1_18546_20-0.1.1
&lt;br&gt;&amp;gt; --vmlinux=/boot/vmlinux-2.6.27.37-0.1-xen --passive-domains=1
&lt;br&gt;&amp;gt; --passive-images=/boot/vmlinux-2.6.27.29-0.1-xen-Dom1
&lt;br&gt;&amp;gt; Dom0&amp;gt; opcontrol --start
&lt;br&gt;&amp;gt; Then do something
&lt;br&gt;&amp;gt; Dom0&amp;gt; opcontrol --shutdown
&lt;br&gt;&amp;gt; Dom0&amp;gt; opreport &amp;gt; myreport
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; part of myreport:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; CPU: Core 2, speed 2660.08 MHz (estimated) Counted 
&lt;br&gt;&amp;gt; CPU_CLK_UNHALTED events (Clock cycles when not halted) with a 
&lt;br&gt;&amp;gt; unit mask of 0x00 (Unhalted core cycles) count 1000000 
&lt;br&gt;&amp;gt; CPU_CLK_UNHALT...|
&lt;br&gt;&amp;gt; &amp;nbsp; samples| &amp;nbsp; &amp;nbsp; &amp;nbsp;%|
&lt;br&gt;&amp;gt; ------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;6609 35.0053 domain1-kernel
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;4795 25.3972 domain1-xen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;4229 22.3994 domain1-apps
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 458 &amp;nbsp;2.4258 vmlinux-2.6.27.37-0.1-xen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 358 &amp;nbsp;1.8962 domain1-xen-unknown
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 208 &amp;nbsp;1.1017 domain1-modules
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 193 &amp;nbsp;1.0222 xen-syms-3.3.1_18546_20-0.1.1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;24 &amp;nbsp;0.1271 xen-unknown
&lt;br&gt;&amp;gt; ......
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; How can these 'XX-unknown' come?
&lt;br&gt;&amp;gt; 358 &amp;nbsp;1.8962 domain1-xen-unknown
&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; 24 &amp;nbsp;0.1271 xen-unknown
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Do i miss some image or symbol names which I should pass to opcontrol?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; cat /var/lib/oprofile/sampels/oprofiled.log
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; oprofiled started Mon Nov 30 10:58:34 2009 kernel pointer size: 8
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mon Nov 30 10:58:59 2009
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- OProfile Statistics --
&lt;br&gt;&amp;gt; Nr. sample dumps: 4
&lt;br&gt;&amp;gt; Nr. non-backtrace samples: 18788
&lt;br&gt;&amp;gt; Nr. kernel samples: 4729
&lt;br&gt;&amp;gt; Nr. lost samples (no kernel/user): 0
&lt;br&gt;&amp;gt; Nr. lost kernel samples: 0
&lt;br&gt;&amp;gt; Nr. incomplete code structs: 0
&lt;br&gt;&amp;gt; Nr. samples lost due to sample file open failure: 0 Nr. 
&lt;br&gt;&amp;gt; samples lost due to no permanent mapping: 0 Nr. event lost 
&lt;br&gt;&amp;gt; due to buffer overflow: 0 Nr. samples lost due to no mapping: 
&lt;br&gt;&amp;gt; 1 Nr. backtraces skipped due to no file mapping: 0 Nr. 
&lt;br&gt;&amp;gt; samples lost due to no mm: 0
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---- Statistics for cpu : 1
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;&amp;gt; Nr. samples received: 18882
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost invalid pc: 0
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---- Statistics for cpu : 0
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;&amp;gt; Nr. samples received: 0
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost invalid pc: 0
&lt;br&gt;&amp;gt; oprofiled stopped Mon Nov 30 10:58:59 2009
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Joe H
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --------------------------------------------------------------
&lt;br&gt;&amp;gt; ----------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal 
&lt;br&gt;&amp;gt; Reports 2008 30-Day trial. Simplify your report design, 
&lt;br&gt;&amp;gt; integration and deployment - and focus on what you do best, 
&lt;br&gt;&amp;gt; core application coding. Discover what's new with Crystal 
&lt;br&gt;&amp;gt; Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; oprofile-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26577312&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26577312&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Got-%27unknown%27-in-oprofile-xenoprofile-report-tp26569093p26577312.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26569093</id>
	<title>Got 'unknown' in oprofile/xenoprofile report</title>
	<published>2009-11-29T19:23:50Z</published>
	<updated>2009-11-29T19:23:50Z</updated>
	<author>
		<name>Joe Hewitt</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I'm using oprofile 0.9.5 with xenoprofile patch. I did some passive
&lt;br&gt;profiling and noticed 'xen-unknown' in my report but don't have a clue
&lt;br&gt;how to explain it.
&lt;br&gt;&lt;br&gt;Host OpenSuse 11.1, kernel 2.6.27.37, xen 3.3.1
&lt;br&gt;Guest OpenSuse 11.1, kernel 2.6.27.29
&lt;br&gt;&lt;br&gt;Commands issued:
&lt;br&gt;Dom0&amp;gt; opcontrol --reset
&lt;br&gt;Dom0&amp;gt; &amp;nbsp;opcontrol --start-daemon
&lt;br&gt;--xen=/boot/xen-syms-3.3.1_18546_20-0.1.1
&lt;br&gt;--vmlinux=/boot/vmlinux-2.6.27.37-0.1-xen --passive-domains=1
&lt;br&gt;--passive-images=/boot/vmlinux-2.6.27.29-0.1-xen-Dom1
&lt;br&gt;Dom0&amp;gt; opcontrol --start
&lt;br&gt;Then do something
&lt;br&gt;Dom0&amp;gt; opcontrol --shutdown
&lt;br&gt;Dom0&amp;gt; opreport &amp;gt; myreport
&lt;br&gt;&lt;br&gt;part of myreport:
&lt;br&gt;&lt;br&gt;CPU: Core 2, speed 2660.08 MHz (estimated)
&lt;br&gt;Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a
&lt;br&gt;unit mask of 0x00 (Unhalted core cycles) count 1000000
&lt;br&gt;CPU_CLK_UNHALT...|
&lt;br&gt;&amp;nbsp; samples| &amp;nbsp; &amp;nbsp; &amp;nbsp;%|
&lt;br&gt;------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;6609 35.0053 domain1-kernel
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;4795 25.3972 domain1-xen
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;4229 22.3994 domain1-apps
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 458 &amp;nbsp;2.4258 vmlinux-2.6.27.37-0.1-xen
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 358 &amp;nbsp;1.8962 domain1-xen-unknown
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 208 &amp;nbsp;1.1017 domain1-modules
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 193 &amp;nbsp;1.0222 xen-syms-3.3.1_18546_20-0.1.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;24 &amp;nbsp;0.1271 xen-unknown
&lt;br&gt;......
&lt;br&gt;&lt;br&gt;How can these 'XX-unknown' come?
&lt;br&gt;358 &amp;nbsp;1.8962 domain1-xen-unknown
&lt;br&gt;and
&lt;br&gt;24 &amp;nbsp;0.1271 xen-unknown
&lt;br&gt;&lt;br&gt;Do i miss some image or symbol names which I should pass to opcontrol?
&lt;br&gt;&lt;br&gt;cat /var/lib/oprofile/sampels/oprofiled.log
&lt;br&gt;----
&lt;br&gt;oprofiled started Mon Nov 30 10:58:34 2009
&lt;br&gt;kernel pointer size: 8
&lt;br&gt;&lt;br&gt;Mon Nov 30 10:58:59 2009
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- OProfile Statistics --
&lt;br&gt;Nr. sample dumps: 4
&lt;br&gt;Nr. non-backtrace samples: 18788
&lt;br&gt;Nr. kernel samples: 4729
&lt;br&gt;Nr. lost samples (no kernel/user): 0
&lt;br&gt;Nr. lost kernel samples: 0
&lt;br&gt;Nr. incomplete code structs: 0
&lt;br&gt;Nr. samples lost due to sample file open failure: 0
&lt;br&gt;Nr. samples lost due to no permanent mapping: 0
&lt;br&gt;Nr. event lost due to buffer overflow: 0
&lt;br&gt;Nr. samples lost due to no mapping: 1
&lt;br&gt;Nr. backtraces skipped due to no file mapping: 0
&lt;br&gt;Nr. samples lost due to no mm: 0
&lt;br&gt;&lt;br&gt;---- Statistics for cpu : 1
&lt;br&gt;Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;Nr. samples received: 18882
&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost invalid pc: 0
&lt;br&gt;&lt;br&gt;---- Statistics for cpu : 0
&lt;br&gt;Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;Nr. samples received: 0
&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost invalid pc: 0
&lt;br&gt;oprofiled stopped Mon Nov 30 10:58:59 2009
&lt;br&gt;&lt;br&gt;----
&lt;br&gt;&lt;br&gt;Thanks in advance.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Joe H
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26569093&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Got-%27unknown%27-in-oprofile-xenoprofile-report-tp26569093p26569093.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535858</id>
	<title>question about oprofile on andriod mobile phone</title>
	<published>2009-11-26T19:16:12Z</published>
	<updated>2009-11-27T00:04:25Z</updated>
	<author>
		<name>hotstuff93</name>
	</author>
	<content type="html">hi, I'm new to android world and now I need to use oprofile on android mobile phone. However, I got some problems. 
&lt;br&gt;Followed is what I did:
&lt;br&gt;1)use adb shell to run this command on the phone
&lt;br&gt;opcontrol --setup
&lt;br&gt;opcontrol --event=CPU_CYCLES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;opcontrol --start
&lt;br&gt;opcontrol --stop
&lt;br&gt;&lt;br&gt;During this step, I can check CPU type by 
&lt;br&gt;# cat /dev/oprofile/cpu_type
&lt;br&gt;&amp;nbsp; -----
&lt;br&gt;&amp;nbsp; arm/armv7
&lt;br&gt;&amp;nbsp; -----
&lt;br&gt;&lt;br&gt;&lt;br&gt;2)And then, I tried to use opimport_pull to get the result, but following error shows:
&lt;br&gt;&lt;br&gt;oprofile: could not open unit mask description file android/prebuilt/linux-x86/oprofile/&lt;b&gt;ppc64&lt;/b&gt;/power5++/unit_masks
&lt;br&gt;&lt;br&gt;It's quite strange why it's trying to find ppc64 unit_masks because the log data was generated on Android phone. And since no such folder in PC, this step will fail.
&lt;br&gt;&lt;br&gt;I've also tried to use opreport directly, the result is
&lt;br&gt;$ ./opreport --session-dir LINUX/android/external/oprofile/result -p LINUX/android/out/target/product/afon/symbols/
&lt;br&gt;&lt;br&gt;Could not locate event 255
&lt;br&gt;Could not locate event 255
&lt;br&gt;CPU: &lt;b&gt;ppc64 POWER5++, speed 0 MHz (estimated)&lt;/b&gt;&lt;br&gt;&amp;nbsp;CPU_CYCLES:15000|
&lt;br&gt;&amp;nbsp; samples| &amp;nbsp; &amp;nbsp; &amp;nbsp;%|
&lt;br&gt;------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 100.000 no-vmlinux
&lt;br&gt;&lt;br&gt;&lt;br&gt;Can anyone kindly help me? Thanks in advance.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/question-about-oprofile-on-andriod-mobile-phone-tp26535858p26535858.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530850</id>
	<title>回复： RTC mode with a 2.6 kernel?</title>
	<published>2009-11-26T04:48:12Z</published>
	<updated>2009-11-26T04:48:12Z</updated>
	<author>
		<name>zhouye</name>
	</author>
	<content type="html">&lt;div style=&quot;font-family:Verdana;font-size:14px;color:#000;&quot;&gt;&lt;DIV&gt;I&amp;nbsp;am&amp;nbsp;sorry&amp;nbsp;that&amp;nbsp;I&amp;nbsp;can&amp;nbsp;not&amp;nbsp;help&amp;nbsp;you,&amp;nbsp;as&amp;nbsp;I&amp;nbsp;am&amp;nbsp;also&amp;nbsp;a&amp;nbsp;freshman&amp;nbsp;with&amp;nbsp;XenOprf.&amp;nbsp;I&amp;nbsp;just&amp;nbsp;use&amp;nbsp;it&amp;nbsp;in&amp;nbsp;doing&amp;nbsp;some&amp;nbsp;test&amp;nbsp;and&amp;nbsp;still&amp;nbsp;have&amp;nbsp;lots&amp;nbsp;of&amp;nbsp;questions!So&amp;nbsp;sorry!&lt;/DIV&gt;&lt;DIV&gt;Maybe&amp;nbsp;you&amp;nbsp;can&amp;nbsp;send&amp;nbsp;your&amp;nbsp;problem&amp;nbsp;to&amp;nbsp;the&amp;nbsp;maillist,&amp;nbsp;So&amp;nbsp;that&amp;nbsp;J.&amp;nbsp;Renato&amp;nbsp;Santos&amp;nbsp;who&amp;nbsp;designed&amp;nbsp;XenOprf&amp;nbsp;also&amp;nbsp;can&amp;nbsp;help&amp;nbsp;you!&lt;/DIV&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;sign signid=&quot;1&quot;&gt;&lt;div style=&quot;color:#909090;font-family:Arial Narrow;font-size:12px&quot;&gt;------------------&lt;/div&gt;&lt;div style='font-size:14px;font-family:Verdana;color:#000;'&gt;&lt;div&gt;
&lt;div&gt;Best Regarding！&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ye&amp;nbsp; Zhou&lt;/div&gt;
&lt;div&gt;--------------------------------------------------------&lt;/div&gt;
&lt;div&gt;Cluster and Grid Computing Lab&lt;/div&gt;
&lt;div&gt;Services Computing Technology and System Lab&lt;/div&gt;
&lt;div&gt;Department of Computer Science&lt;/div&gt;
&lt;div&gt;Huazhong University of Science and Technology Wuhan, 430074, China&lt;/div&gt;
&lt;div&gt;Mobile:+86-13437170320&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/sign&gt;&lt;/div&gt;&lt;div&gt;&lt;qzone signid=&quot;&quot;&gt;&lt;/qzone&gt;&lt;/div&gt;&lt;div&gt;&lt;taotao signid=&quot;&quot;&gt;&lt;/taotao&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font:Verdana normal 14px;color:#000;&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;&quot;&gt;------------------&amp;nbsp;原始邮件&amp;nbsp;------------------&lt;/div&gt;&lt;div style=&quot;FONT-SIZE: 12px;&quot;&gt;&lt;div&gt;&lt;b&gt;发件人:&lt;/b&gt; &amp;quot;jobhunts02&amp;quot;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530850&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt;&amp;gt;;&lt;/div&gt;&lt;div&gt;&lt;b&gt;发送时间:&lt;/b&gt; 2009年11月25日(星期三) 凌晨5:16&lt;/div&gt;&lt;div&gt;&lt;b&gt;收件人:&lt;/b&gt; &amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530850&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt;&amp;quot;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530850&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt;&amp;gt;;&lt;/div&gt;&lt;div&gt;&lt;b&gt;主题:&lt;/b&gt; Re: RTC mode with a 2.6 kernel?&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;DIV&gt;Can RTC mode be used with the 2.6 kernel?&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;On Nov 18, 2009, at 6:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530850&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt;wrote:&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE type=&quot;cite&quot;&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;I am running Linux 2.6.26 on an MPC8248 (which does not provide support to use the hardware performance counters ).&amp;nbsp; HZ=250.&amp;nbsp; Thus, I am getting samples every 4 ms.&amp;nbsp;&lt;o:p /&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p /&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;I would like finer resolution.&amp;nbsp; Can I use RTC mode with my 2.6 kernel?&amp;nbsp; If so, how?&amp;nbsp; When I try to force it, I get:&lt;o:p /&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p /&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse #&amp;nbsp; /usr/bin/opcontrol --event=RTC_INTERRUPTS:4096&lt;o:p /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;You cannot specify any performance counter events&lt;o:p /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;because OProfile is in timer mode.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;= &lt;/DIV&gt;&lt;/Q&gt;
&lt;BLOCKQUOTE type=&quot;cite&quot;&gt;
&lt;DIV&gt;&lt;SPAN&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;br /&gt;&lt;SPAN&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day &lt;/SPAN&gt;
&lt;br /&gt;&lt;SPAN&gt;trial. Simplify your report design, integration and deployment - and focus on &lt;/SPAN&gt;
&lt;br /&gt;&lt;SPAN&gt;what you do best, core application coding. Discover what's new with&lt;/SPAN&gt;
&lt;br /&gt;&lt;SPAN&gt;Crystal Reports now. &amp;nbsp;&lt;A href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;A href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/A&gt;&lt;/A&gt;&lt;/SPAN&gt;
&lt;br /&gt;&lt;/DIV&gt;&lt;/Q&gt;
&lt;BLOCKQUOTE type=&quot;cite&quot;&gt;
&lt;DIV&gt;&lt;SPAN&gt;_______________________________________________&lt;/SPAN&gt;
&lt;br /&gt;&lt;SPAN&gt;oprofile-list mailing list&lt;/SPAN&gt;
&lt;br /&gt;&lt;SPAN&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530850&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;&lt;/SPAN&gt;
&lt;br /&gt;&lt;SPAN&gt;&lt;A href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/A&gt;&lt;/SPAN&gt;
&lt;br /&gt;&lt;/DIV&gt;&lt;/Q&gt;= &lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530850&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%E5%9B%9E%E5%A4%8D%EF%BC%9A-RTC-mode-with-a-2.6-kernel--tp26530850p26530850.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26521706</id>
	<title>Issue with running oprofile on PB ARM 11 MPcore</title>
	<published>2009-11-25T14:51:48Z</published>
	<updated>2009-11-25T14:51:48Z</updated>
	<author>
		<name>Vikas Kumar-4</name>
	</author>
	<content type="html">Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;am getting following error:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt; ./opcontrol --vmlinux=$PWD/vmlinux&lt;/div&gt;&lt;div&gt;./ophelp: /root/install/lib/libpopt.so.0: no version information available (required by ./ophelp)&lt;/div&gt;
&lt;div&gt;cpu_type &amp;#39;unset&amp;#39; is not valid&lt;/div&gt;&lt;div&gt;you should upgrade oprofile or force the use of timer mode&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I am using oprofile-0.9.6 and Linux AEL 2.6.28-arm1 #5 SMP Tue Nov 24 16:49:38 EST 2009 armv6l unknown&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Please help resolve this issue.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks&lt;/div&gt;&lt;div&gt;Vikas&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521706&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issue-with-running-oprofile-on-PB-ARM-11-MPcore-tp26521706p26521706.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519906</id>
	<title>Re: [PATCH-V3] adds support for loongson2</title>
	<published>2009-11-25T12:36:10Z</published>
	<updated>2009-11-25T12:36:10Z</updated>
	<author>
		<name>Maynard Johnson</name>
	</author>
	<content type="html">Chen Jie wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Adds oprofile userland support for ICT loongson2 processor.
&lt;br&gt;&amp;gt; Signed-off-by Chen Jie &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519906&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chenj@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is the third version, changes since last version:
&lt;br&gt;&amp;gt; &amp;nbsp;* unify the cpu's identifier, rename from &amp;quot;godson2&amp;quot; to &amp;quot;loongson2&amp;quot; (This
&lt;br&gt;&amp;gt; needs kernel support:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=55f4e1d4fe88f16f773ba5bb31ce8c1ae63724af&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=55f4e1d4fe88f16f773ba5bb31ce8c1ae63724af&lt;/a&gt;&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The 'make distcheck' test is ok.
&lt;/div&gt;Patch committed. &amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;-Maynard
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; - Chenj
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519906&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--adds-support-for-loongson2-tp25891560p26519906.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503488</id>
	<title>Re: RTC mode with a 2.6 kernel?</title>
	<published>2009-11-24T13:16:52Z</published>
	<updated>2009-11-24T13:16:52Z</updated>
	<author>
		<name>Washington Ratso</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;Can RTC mode be used with the 2.6 kernel?&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;On Nov 18, 2009, at 6:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503488&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;I am running Linux 2.6.26 on an MPC8248 (which does not provide support to use the hardware performance counters ).&amp;nbsp; HZ=250.&amp;nbsp; Thus, I am getting samples every 4 ms.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;I would like finer resolution.&amp;nbsp; Can I use RTC mode with my 2.6 kernel?&amp;nbsp; If so, how?&amp;nbsp; When I try to force it, I get:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse #&amp;nbsp; /usr/bin/opcontrol --event=RTC_INTERRUPTS:4096&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;You cannot specify any performance counter events&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;because OProfile is in timer mode.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;br&gt;&lt;/div&gt;=
&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;span&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;br&gt;&lt;span&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day &lt;/span&gt;&lt;br&gt;&lt;span&gt;trial. Simplify your report design, integration and deployment - and focus on &lt;/span&gt;&lt;br&gt;&lt;span&gt;what you do best, core application coding. Discover what's new with&lt;/span&gt;&lt;br&gt;&lt;span&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;span&gt;_______________________________________________&lt;/span&gt;&lt;br&gt;&lt;span&gt;oprofile-list mailing list&lt;/span&gt;&lt;br&gt;&lt;span&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503488&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/body&gt;&lt;/html&gt;=
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503488&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RTC-mode-with-a-2.6-kernel--tp26419500p26503488.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26501086</id>
	<title>OProfile 0.9.6 GA release announcement</title>
	<published>2009-11-24T10:26:29Z</published>
	<updated>2009-11-24T10:26:29Z</updated>
	<author>
		<name>Maynard Johnson</name>
	</author>
	<content type="html">We are pleased to announce OProfile 0.9.6. &amp;nbsp;This is mainly a bug-fix release to 
&lt;br&gt;correct some regressions that occurred in 0.9.5. It is highly recommended that 
&lt;br&gt;all OProfile 0.9.5 users upgrade to 0.9.6. &amp;nbsp; You can download this release at:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://sourceforge.net/projects/oprofile/files/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/oprofile/files/&lt;/a&gt;&lt;br&gt;&lt;br&gt;See the release notes for more details.
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;-Maynard Johnson
&lt;br&gt;&lt;br&gt;-----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Release Notes
&lt;br&gt;===============
&lt;br&gt;OProfile is a powerful system-wide profiler for Linux. Read
&lt;br&gt;more at &lt;a href=&quot;http://oprofile.sf.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oprofile.sf.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;OProfile 0.9.6 has been released. OProfile is still in alpha,
&lt;br&gt;but has been proven stable for many users.
&lt;br&gt;&lt;br&gt;&lt;br&gt;New features
&lt;br&gt;------------
&lt;br&gt;&lt;br&gt;None -- this is a bug-fix release.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Bug fixes
&lt;br&gt;---------
&lt;br&gt;&lt;br&gt;The main reason for this bug-fix release is to fix three regression bugs that
&lt;br&gt;occurred in 0.9.5:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1. bug #2845063: opcontrol cannot start daemon in timer mode
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2. Improper handling of separate debuginfo files
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3. XML callgraph output has no symbol-level sample counts
&lt;br&gt;&lt;br&gt;Other fixes made in this release are:
&lt;br&gt;&lt;br&gt;-Fix ophelp -X output for IBS events
&lt;br&gt;&lt;br&gt;-Fix ophelp output for &amp;quot;counter:cpuid&amp;quot; and &amp;quot;ext:xxx&amp;quot; case
&lt;br&gt;&lt;br&gt;-Fix opcontrol to prevent &amp;quot;Stopping profiling&amp;quot; message when profiler isn't running
&lt;br&gt;&lt;br&gt;-Fix opcontrol to kill daemon only if it's running
&lt;br&gt;&lt;br&gt;-Fix buffer overflows in xml generator, which can result in segfault
&lt;br&gt;&lt;br&gt;-Add extra #includes in agents/jvmpi code since newer libstdc++ header files
&lt;br&gt;&amp;nbsp; do not include standard C header files
&lt;br&gt;&lt;br&gt;-Update events and unitmasks for AMD Family10 from publication 31116 revision
&lt;br&gt;&amp;nbsp; 3.34 and fixes
&lt;br&gt;&lt;br&gt;-Update events and groups for IBM POWER7
&lt;br&gt;&lt;br&gt;-Change element definition for callers and callees in opreport.xsd and bumped
&lt;br&gt;&amp;nbsp; schema version to &amp;quot;3.0&amp;quot;
&lt;br&gt;&lt;br&gt;-Fix start-daemon problem on ia64
&lt;br&gt;&lt;br&gt;&lt;br&gt;Known problems
&lt;br&gt;--------------
&lt;br&gt;&lt;br&gt;If NMI watchdog is not disabled (x86), opcontrol may fail to
&lt;br&gt;allocate the hardware performance counter(s) it needs (bug #1468916).
&lt;br&gt;&lt;br&gt;configure script fails to handle --without-java correctly (bug #2153620).
&lt;br&gt;&lt;br&gt;When profiling stripped libraries where OProfile needs to access a debuginfo
&lt;br&gt;file, it's possible that src filename/line # information may be incorrect
&lt;br&gt;(bug #2573008).
&lt;br&gt;&lt;br&gt;Many Alpha ev67 events do not work (bug #931875).
&lt;br&gt;&lt;br&gt;For 2.2 kernels, the module must be compiled as the same user
&lt;br&gt;that owns the kernel source tree.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501086&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OProfile-0.9.6-GA-release-announcement-tp26501086p26501086.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499616</id>
	<title>[ oprofile-Bugs-2845063 ] opcontrol cannot start daemon in timer mode</title>
	<published>2009-11-24T09:00:56Z</published>
	<updated>2009-11-24T09:00:56Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2845063, was opened at 2009-08-26 12:11
&lt;br&gt;Message generated for change (Settings changed) made by maynardj
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=116191&amp;aid=2845063&amp;group_id=16191&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=116191&amp;aid=2845063&amp;group_id=16191&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;Resolution: Fixed
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Tom Donovan (tomdonovan)
&lt;br&gt;Assigned to: Maynard Johnson (maynardj)
&lt;br&gt;Summary: opcontrol cannot start daemon in timer mode
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;opcontrol --start &amp;nbsp;in timer mode shows &amp;nbsp;&amp;quot;oprofiled: no events specified.&amp;quot; error.
&lt;br&gt;&lt;br&gt;OProfile 0.9.5 - &amp;nbsp;ARM/Linux Debian 5 &amp;quot;Lenny&amp;quot;. &amp;nbsp;Boot arg &amp;nbsp;oprofile.timer=1
&lt;br&gt;Running in timer mode due to Cortex-a8 hw bug with perf counters. &amp;nbsp; OMAP3 cpu.
&lt;br&gt;&lt;br&gt;Proposed patch:
&lt;br&gt;--- opcontrol	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2009-08-25 17:28:23.000000000 -0400
&lt;br&gt;+++ /usr/local/bin/opcontrol	2009-07-10 16:03:40.000000000 -0400
&lt;br&gt;@@ -1300,7 +1300,6 @@
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if test &amp;quot;$IS_TIMER&amp;quot; = 1; then
&lt;br&gt;+		OPROFILED_EVENTS=TIMER_INT
&lt;br&gt;&amp;nbsp;		return
&lt;br&gt;&amp;nbsp;	fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Maynard Johnson (maynardj)
&lt;br&gt;Date: 2009-10-19 09:23
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Sorry for the delay in responding to this bugzilla. &amp;nbsp;Hopefully, you've
&lt;br&gt;noticed that this bug was fixed with a patch posted on Sept 10, subject
&lt;br&gt;&amp;quot;Re: [PATCH1/1] Fix Timer mode&amp;quot;.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=116191&amp;aid=2845063&amp;group_id=16191&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=116191&amp;aid=2845063&amp;group_id=16191&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499616&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--oprofile-Bugs-2845063---opcontrol-cannot-start-daemon-in-timer-mode-tp26499616p26499616.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486170</id>
	<title>Re: Understanding oprofiled.log</title>
	<published>2009-11-23T13:23:35Z</published>
	<updated>2009-11-23T13:23:35Z</updated>
	<author>
		<name>Maynard Johnson</name>
	</author>
	<content type="html">Robert Peter wrote:
&lt;br&gt;&amp;gt; Hello!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have some questions concerning oprofile's logfile &amp;quot;oprofiled.log&amp;quot;. 
&lt;br&gt;&amp;gt; Looking at the log above, I don't understand why the &amp;quot;samples lost cpu 
&lt;br&gt;I guess you mean &amp;quot;the log *below*&amp;quot; . . . :-)
&lt;br&gt;&amp;gt; buffer overflow&amp;quot; is issued several times.
&lt;br&gt;&amp;gt; Where can I see how many samples were actually recorded, and how many 
&lt;br&gt;&amp;gt; samples were actually lost?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In that cas, is &amp;quot;Lost samples = 1514776 + 1391176&amp;quot;? That would be nearly 
&lt;br&gt;&amp;gt; as many as the &amp;quot;Nr. non-backtrace samples&amp;quot; (is that the number of 
&lt;br&gt;&amp;gt; overall recorded samples?)
&lt;br&gt;The oprofile kernel driver uses a double-buffering scheme . . . a set of per-cpu buffers where samples are initially collected, and a main event buffer to which the per-cpu samples are periodically transferred. &amp;nbsp;The the oprofile userspace daemon reads the sample data from the main event buffer. &amp;nbsp;The first group of statistics below (ending with &amp;quot;Nr. samples lost due to no mm&amp;quot;) is for the main event buffer; then you have a group of statistics printed for each active cpu on your system. &amp;nbsp;You've got a *lot* of overflows. &amp;nbsp;As I said to luludede in an earlier posting to this list (see subject &amp;quot;Re: Nr. lost kernel samples&amp;quot;), you need to lower your sampling frequency.
&lt;br&gt;&lt;br&gt;-Maynard
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks in advance!
&lt;br&gt;&amp;gt; Robert
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Nr. sample dumps: 1770
&lt;br&gt;&amp;gt; Nr. non-backtrace samples: 2891740
&lt;br&gt;&amp;gt; Nr. kernel samples: 1455610
&lt;br&gt;&amp;gt; Nr. lost samples (no kernel/user): 0
&lt;br&gt;&amp;gt; Nr. lost kernel samples: 0
&lt;br&gt;&amp;gt; Nr. incomplete code structs: 18
&lt;br&gt;&amp;gt; Nr. samples lost due to sample file open failure: 0
&lt;br&gt;&amp;gt; Nr. samples lost due to no permanent mapping: 34
&lt;br&gt;&amp;gt; Nr. event lost due to buffer overflow: 6243466
&lt;br&gt;&amp;gt; Nr. samples lost due to no mapping: 1241
&lt;br&gt;&amp;gt; Nr. backtraces skipped due to no file mapping: 2201
&lt;br&gt;&amp;gt; Nr. samples lost due to no mm: 960
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;&amp;gt; Nr. samples received: 0
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;&amp;gt; Nr. samples received: 0
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;&amp;gt; Nr. samples received: 0
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;&amp;gt; Nr. samples received: 0
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;&amp;gt; Nr. samples received: 0
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;&amp;gt; Nr. samples received: 0
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 1514776
&lt;br&gt;&amp;gt; Nr. samples received: 2825879
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 39
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 1391176
&lt;br&gt;&amp;gt; Nr. samples received: 2702601
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 37
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; oprofile-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486170&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486170&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Understanding-oprofiled.log-tp26480981p26486170.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26480981</id>
	<title>Understanding oprofiled.log</title>
	<published>2009-11-23T08:08:39Z</published>
	<updated>2009-11-23T08:08:39Z</updated>
	<author>
		<name>Bugzilla from robert1peter@web.de</name>
	</author>
	<content type="html">Hello!
&lt;br&gt;&lt;br&gt;I have some questions concerning oprofile's logfile &amp;quot;oprofiled.log&amp;quot;. 
&lt;br&gt;Looking at the log above, I don't understand why the &amp;quot;samples lost cpu 
&lt;br&gt;buffer overflow&amp;quot; is issued several times.
&lt;br&gt;Where can I see how many samples were actually recorded, and how many 
&lt;br&gt;samples were actually lost?
&lt;br&gt;&lt;br&gt;In that cas, is &amp;quot;Lost samples = 1514776 + 1391176&amp;quot;? That would be nearly 
&lt;br&gt;as many as the &amp;quot;Nr. non-backtrace samples&amp;quot; (is that the number of 
&lt;br&gt;overall recorded samples?)
&lt;br&gt;&lt;br&gt;Thanks in advance!
&lt;br&gt;Robert
&lt;br&gt;&lt;br&gt;Nr. sample dumps: 1770
&lt;br&gt;Nr. non-backtrace samples: 2891740
&lt;br&gt;Nr. kernel samples: 1455610
&lt;br&gt;Nr. lost samples (no kernel/user): 0
&lt;br&gt;Nr. lost kernel samples: 0
&lt;br&gt;Nr. incomplete code structs: 18
&lt;br&gt;Nr. samples lost due to sample file open failure: 0
&lt;br&gt;Nr. samples lost due to no permanent mapping: 34
&lt;br&gt;Nr. event lost due to buffer overflow: 6243466
&lt;br&gt;Nr. samples lost due to no mapping: 1241
&lt;br&gt;Nr. backtraces skipped due to no file mapping: 2201
&lt;br&gt;Nr. samples lost due to no mm: 960
&lt;br&gt;Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;Nr. samples received: 0
&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;Nr. samples received: 0
&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;Nr. samples received: 0
&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;Nr. samples received: 0
&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;Nr. samples received: 0
&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost cpu buffer overflow: 0
&lt;br&gt;Nr. samples received: 0
&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost cpu buffer overflow: 1514776
&lt;br&gt;Nr. samples received: 2825879
&lt;br&gt;Nr. backtrace aborted: 39
&lt;br&gt;Nr. samples lost cpu buffer overflow: 1391176
&lt;br&gt;Nr. samples received: 2702601
&lt;br&gt;Nr. backtrace aborted: 37
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480981&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Understanding-oprofiled.log-tp26480981p26480981.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479726</id>
	<title>Re: Nr. lost kernel samples</title>
	<published>2009-11-23T07:06:10Z</published>
	<updated>2009-11-23T07:06:10Z</updated>
	<author>
		<name>Maynard Johnson</name>
	</author>
	<content type="html">luludede wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;Is there a reason you double-posted this problem? &amp;nbsp;One posting per problem, please.
&lt;br&gt;&lt;br&gt;&amp;gt; I kept getting &amp;quot;Nr. samples lost cpu buffer overflow&amp;quot; when I use oprofile
&lt;br&gt;&amp;gt; 0.9.6-rc1 to profile the kernel.
&lt;br&gt;I presume you're referring to the message &amp;quot;WARNING! The OProfile kernel driver reports sample buffer overflows.&amp;quot; &amp;nbsp;This message was added in 0.9.5 -- it's not new in 0.9.6.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Although I increased the &amp;quot;CPU buffer size&amp;quot; to be far greater than the (Nr.
&lt;br&gt;&amp;gt; samples lost cpu buffer overflow) plus (Nr. samples received). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is it a bug with oprofile or I did something wrong? Can anyone give me some
&lt;br&gt;&amp;gt; suggestion? Thans a lot !
&lt;br&gt;No, it's not a bug. &amp;nbsp;As the rest of the warning message recommends, you should lower your sampling frequency. &amp;nbsp;You're taking a sample every 100000 GLOBAL_POWER_EVENTS, which is a fairly high rate by itself. &amp;nbsp;But when you throw in the fact that you're also asking oprofile to collect callgraph information on each sample, it simply can't keep up. &amp;nbsp;A bigger buffer can help to a certain extent, but I suggest going back to your original buffer size (rm /root/.oprofile/daemonrc to remove the cached profiling values), and then double or triple the number of events per sample to lower your sampling frequency. &amp;nbsp;If your ratio of overflows to non-backtrace samples is less than, say, 1 or 2%, you probably don't need to be concerned about it. &amp;nbsp;Otherwise, you can adjust sampling frequency and/or buffer sizes. &amp;nbsp;
&lt;br&gt;&lt;br&gt;NOTE: &amp;nbsp;The buffer watershed value is for the kernel-to-oprofile daemon event buffer, not the per-cpu buffers (which are internal to the oprofile kernel driver. &amp;nbsp;And the value you've specified below is not a good one. &amp;nbsp;As the man page states, it should be set between 0.25 and 0.5 of buffer size. &amp;nbsp;If you're interested to know more about oprofile's double-buffering scheme, see &lt;a href=&quot;http://oprofile.sourceforge.net/doc/internals/core-structure.html#id4685015&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oprofile.sourceforge.net/doc/internals/core-structure.html#id4685015&lt;/a&gt;&lt;br&gt;&lt;br&gt;-Maynard
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --------------------------------
&lt;br&gt;&amp;gt; steps I took for profiling:
&lt;br&gt;&amp;gt; # opcontrol --reset
&lt;br&gt;&amp;gt; # opcontrol --start
&lt;br&gt;&amp;gt; # my bench mark
&lt;br&gt;&amp;gt; # opcontrol --dump
&lt;br&gt;&amp;gt; # opcontrol --stop
&lt;br&gt;&amp;gt; --------------------------------
&lt;br&gt;&amp;gt; the profiler setting:
&lt;br&gt;&amp;gt; # opcontrol --status
&lt;br&gt;&amp;gt; Daemon running: pid 11302
&lt;br&gt;&amp;gt; Event 0: GLOBAL_POWER_EVENTS:100000:1:1:1
&lt;br&gt;&amp;gt; Separate options: none
&lt;br&gt;&amp;gt; vmlinux file:
&lt;br&gt;&amp;gt; /usr/lib/debug/lib/modules/2.6.29.4-167.fc11.i686.PAEdebug/vmlinux
&lt;br&gt;&amp;gt; Image filter: none
&lt;br&gt;&amp;gt; Call-graph depth: 10
&lt;br&gt;&amp;gt; Buffer size: 80000000
&lt;br&gt;&amp;gt; CPU buffer watershed: 40000000
&lt;br&gt;&amp;gt; CPU buffer size: 400000000
&lt;br&gt;&amp;gt; ----------------------------------
&lt;br&gt;&amp;gt; -- OProfile Statistics --
&lt;br&gt;&amp;gt; Nr. sample dumps: 128
&lt;br&gt;&amp;gt; Nr. non-backtrace samples: 3153835
&lt;br&gt;&amp;gt; Nr. kernel samples: 3066290
&lt;br&gt;&amp;gt; Nr. lost samples (no kernel/user): 0
&lt;br&gt;&amp;gt; Nr. lost kernel samples: 0
&lt;br&gt;&amp;gt; Nr. incomplete code structs: 0
&lt;br&gt;&amp;gt; Nr. samples lost due to sample file open failure: 0
&lt;br&gt;&amp;gt; Nr. samples lost due to no permanent mapping: 120
&lt;br&gt;&amp;gt; Nr. event lost due to buffer overflow: 0
&lt;br&gt;&amp;gt; Nr. samples lost due to no mapping: 83
&lt;br&gt;&amp;gt; Nr. backtraces skipped due to no file mapping: 0
&lt;br&gt;&amp;gt; Nr. samples lost due to no mm: 330
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---- Statistics for cpu : 1
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 44322
&lt;br&gt;&amp;gt; Nr. samples received: 73275
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost invalid pc: 0
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---- Statistics for cpu : 0
&lt;br&gt;&amp;gt; Nr. samples lost cpu buffer overflow: 72740
&lt;br&gt;&amp;gt; Nr. samples received: 142325
&lt;br&gt;&amp;gt; Nr. backtrace aborted: 0
&lt;br&gt;&amp;gt; Nr. samples lost invalid pc: 0
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479726&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Nr.-lost-kernel-samples-tp25079403p26479726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26473260</id>
	<title>Re: Help: Increasing CPU buffer size does not solve &quot;samples lost cpu buffer overflow&quot;</title>
	<published>2009-11-22T22:15:37Z</published>
	<updated>2009-11-22T22:15:37Z</updated>
	<author>
		<name>luludede</name>
	</author>
	<content type="html">I think I found the reason: 
&lt;br&gt;There are upper-limits on the size of the cpu buffer and event buffer.
&lt;br&gt;When seting the number which is more than the upper-limits, it just be deemed as invalid value by Oprofile.
&lt;br&gt;&lt;br&gt;I don't know the exact &lt;b&gt;upper-limt&lt;/b&gt;&amp;nbsp;on &lt;b&gt;cpu buffer&lt;/b&gt;&amp;nbsp;and &lt;b&gt;event buffer&lt;/b&gt;. 
&lt;br&gt;&lt;b&gt;Can anyone answer it&lt;/b&gt;? Thanks !
&lt;br&gt;----------------------------------------
&lt;br&gt;[root@crash-29 w_seq]# opcontrol --reset; opcontrol --start; fio w_seq.ini ; opcontrol --dump; opcontrol --stop; opcontrol --save=w_seq_7
&lt;br&gt;Using 2.6+ OProfile kernel interface.
&lt;br&gt;&lt;br&gt;&lt;b&gt;/usr/local/bin/oprofiled: out of memory allocating 3200000000 bytes after a total of 135168 bytes&lt;/b&gt;&lt;br&gt;Couldn't start oprofiled.
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;luludede wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Dear All,
&lt;br&gt;&lt;br&gt;I kept getting &amp;quot;Nr. samples lost cpu buffer overflow&amp;quot; error when I used oprofile 0.9.6-rc1 to profile the kernel. Although I increased the &amp;quot;CPU buffer size&amp;quot; to be far greater than the ((Nr. samples lost cpu buffer overflow) + (Nr. samples received)). 
&lt;br&gt;&lt;br&gt;Is it a bug with oprofile or I did something wrong? Can anyone give me some suggestion? Thans a lot !
&lt;br&gt;&lt;br&gt;--------------------------------
&lt;br&gt;&lt;b&gt;steps I took for profiling:&lt;/b&gt;&lt;br&gt;# opcontrol --reset
&lt;br&gt;# opcontrol --start
&lt;br&gt;# my bench mark
&lt;br&gt;# opcontrol --dump
&lt;br&gt;# opcontrol --stop
&lt;br&gt;--------------------------------
&lt;br&gt;the profiler setting:
&lt;br&gt;# opcontrol --status
&lt;br&gt;Daemon running: pid 11302
&lt;br&gt;Event 0: GLOBAL_POWER_EVENTS:100000:1:1:1
&lt;br&gt;Separate options: none
&lt;br&gt;vmlinux file: /usr/lib/debug/lib/modules/2.6.29.4-167.fc11.i686.PAEdebug/vmlinux
&lt;br&gt;Image filter: none
&lt;br&gt;Call-graph depth: 10
&lt;br&gt;&lt;b&gt;Buffer size: 80000000
&lt;br&gt;CPU buffer watershed: 40000000
&lt;br&gt;CPU buffer size: 400000000&lt;/b&gt;&lt;br&gt;----------------------------------
&lt;br&gt;-- OProfile Statistics --
&lt;br&gt;Nr. sample dumps: 128
&lt;br&gt;Nr. non-backtrace samples: 3153835
&lt;br&gt;Nr. kernel samples: 3066290
&lt;br&gt;Nr. lost samples (no kernel/user): 0
&lt;br&gt;Nr. lost kernel samples: 0
&lt;br&gt;Nr. incomplete code structs: 0
&lt;br&gt;Nr. samples lost due to sample file open failure: 0
&lt;br&gt;Nr. samples lost due to no permanent mapping: 120
&lt;br&gt;Nr. event lost due to buffer overflow: 0
&lt;br&gt;Nr. samples lost due to no mapping: 83
&lt;br&gt;Nr. backtraces skipped due to no file mapping: 0
&lt;br&gt;Nr. samples lost due to no mm: 330
&lt;br&gt;&lt;br&gt;---- Statistics for cpu : 1
&lt;br&gt;&lt;b&gt;Nr. samples lost cpu buffer overflow: 44322
&lt;br&gt;Nr. samples received: 73275&lt;/b&gt;&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost invalid pc: 0
&lt;br&gt;&lt;br&gt;---- Statistics for cpu : 0
&lt;br&gt;&lt;b&gt;Nr. samples lost cpu buffer overflow: 72740
&lt;br&gt;Nr. samples received: 142325&lt;/b&gt;&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost invalid pc: 0
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help%3A-Increasing-CPU-buffer-size-does-not-solve-%22samples-lost-cpu-buffer-overflow%22-tp26472870p26473260.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26472870</id>
	<title>Help: Increasing CPU buffer size does not solve &quot;samples lost cpu buffer overflow&quot;</title>
	<published>2009-11-22T21:04:07Z</published>
	<updated>2009-11-22T21:04:07Z</updated>
	<author>
		<name>luludede</name>
	</author>
	<content type="html">Dear All,
&lt;br&gt;&lt;br&gt;I kept getting &amp;quot;Nr. samples lost cpu buffer overflow&amp;quot; error when I used oprofile 0.9.6-rc1 to profile the kernel. Although I increased the &amp;quot;CPU buffer size&amp;quot; to be far greater than the ((Nr. samples lost cpu buffer overflow) + (Nr. samples received)). 
&lt;br&gt;&lt;br&gt;Is it a bug with oprofile or I did something wrong? Can anyone give me some suggestion? Thans a lot !
&lt;br&gt;&lt;br&gt;--------------------------------
&lt;br&gt;&lt;b&gt;steps I took for profiling:&lt;/b&gt;&lt;br&gt;# opcontrol --reset
&lt;br&gt;# opcontrol --start
&lt;br&gt;# my bench mark
&lt;br&gt;# opcontrol --dump
&lt;br&gt;# opcontrol --stop
&lt;br&gt;--------------------------------
&lt;br&gt;the profiler setting:
&lt;br&gt;# opcontrol --status
&lt;br&gt;Daemon running: pid 11302
&lt;br&gt;Event 0: GLOBAL_POWER_EVENTS:100000:1:1:1
&lt;br&gt;Separate options: none
&lt;br&gt;vmlinux file: /usr/lib/debug/lib/modules/2.6.29.4-167.fc11.i686.PAEdebug/vmlinux
&lt;br&gt;Image filter: none
&lt;br&gt;Call-graph depth: 10
&lt;br&gt;&lt;b&gt;Buffer size: 80000000
&lt;br&gt;CPU buffer watershed: 40000000
&lt;br&gt;CPU buffer size: 400000000&lt;/b&gt;&lt;br&gt;----------------------------------
&lt;br&gt;-- OProfile Statistics --
&lt;br&gt;Nr. sample dumps: 128
&lt;br&gt;Nr. non-backtrace samples: 3153835
&lt;br&gt;Nr. kernel samples: 3066290
&lt;br&gt;Nr. lost samples (no kernel/user): 0
&lt;br&gt;Nr. lost kernel samples: 0
&lt;br&gt;Nr. incomplete code structs: 0
&lt;br&gt;Nr. samples lost due to sample file open failure: 0
&lt;br&gt;Nr. samples lost due to no permanent mapping: 120
&lt;br&gt;Nr. event lost due to buffer overflow: 0
&lt;br&gt;Nr. samples lost due to no mapping: 83
&lt;br&gt;Nr. backtraces skipped due to no file mapping: 0
&lt;br&gt;Nr. samples lost due to no mm: 330
&lt;br&gt;&lt;br&gt;---- Statistics for cpu : 1
&lt;br&gt;&lt;b&gt;Nr. samples lost cpu buffer overflow: 44322
&lt;br&gt;Nr. samples received: 73275&lt;/b&gt;&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost invalid pc: 0
&lt;br&gt;&lt;br&gt;---- Statistics for cpu : 0
&lt;br&gt;&lt;b&gt;Nr. samples lost cpu buffer overflow: 72740
&lt;br&gt;Nr. samples received: 142325&lt;/b&gt;&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost invalid pc: 0
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help%3A-Increasing-CPU-buffer-size-does-not-solve-%22samples-lost-cpu-buffer-overflow%22-tp26472870p26472870.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26472849</id>
	<title>Re: Nr. lost kernel samples</title>
	<published>2009-11-22T20:59:12Z</published>
	<updated>2009-11-22T20:59:12Z</updated>
	<author>
		<name>luludede</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I kept getting &amp;quot;Nr. samples lost cpu buffer overflow&amp;quot; when I use oprofile 0.9.6-rc1 to profile the kernel.
&lt;br&gt;&lt;br&gt;Although I increased the &amp;quot;CPU buffer size&amp;quot; to be far greater than the (Nr. samples lost cpu buffer overflow) plus (Nr. samples received). 
&lt;br&gt;&lt;br&gt;Is it a bug with oprofile or I did something wrong? Can anyone give me some suggestion? Thans a lot !
&lt;br&gt;&lt;br&gt;--------------------------------
&lt;br&gt;steps I took for profiling:
&lt;br&gt;# opcontrol --reset
&lt;br&gt;# opcontrol --start
&lt;br&gt;# my bench mark
&lt;br&gt;# opcontrol --dump
&lt;br&gt;# opcontrol --stop
&lt;br&gt;--------------------------------
&lt;br&gt;the profiler setting:
&lt;br&gt;# opcontrol --status
&lt;br&gt;Daemon running: pid 11302
&lt;br&gt;Event 0: GLOBAL_POWER_EVENTS:100000:1:1:1
&lt;br&gt;Separate options: none
&lt;br&gt;vmlinux file: /usr/lib/debug/lib/modules/2.6.29.4-167.fc11.i686.PAEdebug/vmlinux
&lt;br&gt;Image filter: none
&lt;br&gt;Call-graph depth: 10
&lt;br&gt;&lt;b&gt;Buffer size: 80000000
&lt;br&gt;CPU buffer watershed: 40000000
&lt;br&gt;CPU buffer size: 400000000&lt;/b&gt;&lt;br&gt;----------------------------------
&lt;br&gt;-- OProfile Statistics --
&lt;br&gt;Nr. sample dumps: 128
&lt;br&gt;Nr. non-backtrace samples: 3153835
&lt;br&gt;Nr. kernel samples: 3066290
&lt;br&gt;Nr. lost samples (no kernel/user): 0
&lt;br&gt;Nr. lost kernel samples: 0
&lt;br&gt;Nr. incomplete code structs: 0
&lt;br&gt;Nr. samples lost due to sample file open failure: 0
&lt;br&gt;Nr. samples lost due to no permanent mapping: 120
&lt;br&gt;Nr. event lost due to buffer overflow: 0
&lt;br&gt;Nr. samples lost due to no mapping: 83
&lt;br&gt;Nr. backtraces skipped due to no file mapping: 0
&lt;br&gt;Nr. samples lost due to no mm: 330
&lt;br&gt;&lt;br&gt;---- Statistics for cpu : 1
&lt;br&gt;&lt;b&gt;Nr. samples lost cpu buffer overflow: 44322
&lt;br&gt;Nr. samples received: 73275&lt;/b&gt;&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost invalid pc: 0
&lt;br&gt;&lt;br&gt;---- Statistics for cpu : 0
&lt;br&gt;&lt;b&gt;Nr. samples lost cpu buffer overflow: 72740
&lt;br&gt;Nr. samples received: 142325&lt;/b&gt;&lt;br&gt;Nr. backtrace aborted: 0
&lt;br&gt;Nr. samples lost invalid pc: 0
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Nr.-lost-kernel-samples-tp25079403p26472849.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26471738</id>
	<title>Fwd: Stable configuration for oprofile + Xen</title>
	<published>2009-11-22T17:37:36Z</published>
	<updated>2009-11-22T17:37:36Z</updated>
	<author>
		<name>Nishikant Deshmukh</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;---------- Forwarded message ----------&lt;br&gt;From: &lt;b class=&quot;gmail_sendername&quot;&gt;Nishikant Deshmukh&lt;/b&gt; &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471738&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nishikant.deshmukh@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
Date: Wed, Nov 18, 2009 at 7:50 PM&lt;br&gt;Subject: Stable configuration for oprofile + Xen&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471738&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471738&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;Hi,&lt;br&gt;&lt;br&gt;   I have 2 Xeon processors (Dell T7400) and I want to know a stable Xen distribution on which oprofile (xenoprof) can be run.&lt;br clear=&quot;all&quot;&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;-- &lt;br&gt;Best Regards,&lt;br&gt;Nishikant Deshmukh&lt;br&gt;
Graduate Student&lt;br&gt;Johns Hopkins University Homewood Campus&lt;br&gt;&lt;br&gt;Sent from Baltimore, MD, United States&lt;br&gt;&lt;/font&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Best Regards,&lt;br&gt;Nishikant Deshmukh&lt;br&gt;Graduate Student&lt;br&gt;Johns Hopkins University Homewood Campus&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26471738&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stable-configuration-for-oprofile-%2B-Xen-tp26418575p26471738.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26445416</id>
	<title>RE: Event Multiplexing</title>
	<published>2009-11-20T07:40:59Z</published>
	<updated>2009-11-20T07:40:59Z</updated>
	<author>
		<name>Suthikulpanit, Suravee</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;


&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;With out the patch, you would need to do multiple
profile runs without doing &amp;#8220;opcontrol &amp;#8211;reset&amp;#8221; in between each
run.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;Suravee&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div class=MsoNormal align=center style='text-align:center'&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:12.0pt'&gt;

&lt;hr size=2 width=&quot;100%&quot; align=center tabindex=-1&gt;

&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span style='font-size:10.0pt;font-family:Tahoma'&gt; Thomas Marmaduke
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26445416&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tkm@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Sent:&lt;/span&gt;&lt;/b&gt; Thursday, November 19, 2009
11:45 PM&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26445416&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Subject:&lt;/span&gt;&lt;/b&gt; Event Multiplexing&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;I am currently working on a project where we are trying to profile&lt;br&gt;
around 20 different events, and needless to say event multiplexing would&lt;br&gt;
be very useful. I found a source on line which gives a patch (which&lt;br&gt;
doesn't have a patch file in it. . .) that will allow this.&lt;br&gt;
&lt;br&gt;
Are there any easier ways of achieving event multiplexing than replacing&lt;br&gt;
the oprofile associated files in my kernel source with those from the&lt;br&gt;
patch and recompiling? Any other suggestions for this?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;span style='color:#888888'&gt;Tom&lt;/span&gt;&lt;/font&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26445416&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Event-Multiplexing-tp26438877p26445416.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444701</id>
	<title>Re: Support for hardware counters on Cortext A9</title>
	<published>2009-11-20T06:55:31Z</published>
	<updated>2009-11-20T06:55:31Z</updated>
	<author>
		<name>Jean Pihet</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Friday 20 November 2009 10:10:03 vrukesh panse wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We are use Oprofile with ARM CortexTM A9 dual core SMP based Linux kernel.
&lt;br&gt;The kernel has support for Cortex-A8 performance counters, cf. 
&lt;br&gt;arch/arm/oprofile/op_model_v7.[ch]. I do not know if Cortex-A9 is backward 
&lt;br&gt;compatible with it, if so you can use the A8 code.
&lt;br&gt;&lt;br&gt;&amp;gt; We are using kernel 2.6.29 with Oprofile 0.9.5.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Right now, by default, Oprofile works in timer interrupt mode.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kindly let us know how to enable hardware counters.
&lt;br&gt;To enable it you need to compile you need to enable CONFIG_OPROFILE_ARMV7 in 
&lt;br&gt;the kernel config, and remove the 'oprofile.timer=1' argument from the kernel 
&lt;br&gt;command line.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks and Regards,
&lt;br&gt;&amp;gt; Vrukesh
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Jean
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26444701&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Support-for-hardware-counters-on-Cortext-A9-tp26444129p26444701.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444129</id>
	<title>Support for hardware counters on Cortext A9</title>
	<published>2009-11-20T01:10:03Z</published>
	<updated>2009-11-20T01:10:03Z</updated>
	<author>
		<name>vrukesh panse</name>
	</author>
	<content type="html">&lt;div&gt;Hi,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;We are use Oprofile with ARM CortexTM A9 dual core SMP based Linux kernel.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;We are using kernel 2.6.29 with Oprofile 0.9.5.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Right now, by default, Oprofile works in timer interrupt mode.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Kindly let us know how to enable hardware counters.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Thanks and Regards,&lt;/div&gt;
&lt;div&gt;Vrukesh&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26444129&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Support-for-hardware-counters-on-Cortext-A9-tp26444129p26444129.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26438877</id>
	<title>Event Multiplexing</title>
	<published>2009-11-19T21:44:37Z</published>
	<updated>2009-11-19T21:44:37Z</updated>
	<author>
		<name>Thomas Marmaduke</name>
	</author>
	<content type="html">I am currently working on a project where we are trying to profile&lt;br&gt;
around 20 different events, and needless to say event multiplexing would&lt;br&gt;
be very useful. I found a source on line which gives a patch (which&lt;br&gt;
doesn&amp;#39;t have a patch file in it. . .) that will allow this.&lt;br&gt;
&lt;br&gt;
Are there any easier ways of achieving event multiplexing than replacing&lt;br&gt;
the oprofile associated files in my kernel source with those from the&lt;br&gt;
patch and recompiling? Any other suggestions for this?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Tom&lt;/font&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26438877&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Event-Multiplexing-tp26438877p26438877.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26433706</id>
	<title>Re: Release Candidate 1 for OProfile 0.9.6</title>
	<published>2009-11-19T12:35:21Z</published>
	<updated>2009-11-19T12:35:21Z</updated>
	<author>
		<name>Maynard Johnson</name>
	</author>
	<content type="html">Maynard Johnson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Maynard Johnson wrote:
&lt;br&gt;&amp;gt;&amp;gt; We are pleased to announce OProfile 0.9.6 Release Candidate 1. &amp;nbsp;This is primarily a bug-fix release. &amp;nbsp;You can download this release at:
&lt;br&gt;&amp;gt;&amp;gt; 	&lt;a href=&quot;http://sourceforge.net/projects/oprofile/files/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/oprofile/files/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Please download and test this release candidate, and send your feedback by replying to this message. &amp;nbsp;Please include your hardware platform and Linux distribution information in your reply.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So far, I've run my oprofile testsuite on a POWER5 system, which includes JVMTI 
&lt;br&gt;&amp;gt; testing. Also manually verified handling of separate debuginfo files.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; *OProfile Community members*, please test this release candidate in your 
&lt;br&gt;&amp;gt; environments and give us your feedback.
&lt;/div&gt;I've gotten feedback from a couple community members on their testing of 
&lt;br&gt;oprofile 0.9.6-rc1. &amp;nbsp;Thanks those who have spent a little time to test this out. 
&lt;br&gt;&amp;nbsp; So far, there have been no problems found. &amp;nbsp;I will give a few more days for 
&lt;br&gt;further comments from the community. &amp;nbsp;If no issues arise, I'll probably GA the 
&lt;br&gt;0.9.6 release sometime next week. &amp;nbsp;Please try to give it a test run before then 
&lt;br&gt;and let me know your results. &amp;nbsp;Better to find any problems now than after GA.
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;-Maynard
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you.
&lt;br&gt;&amp;gt; -Maynard
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt;&amp;gt; -Maynard Johnson
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Release Notes
&lt;br&gt;&amp;gt;&amp;gt; ===============
&lt;br&gt;&amp;gt;&amp;gt; OProfile is a powerful system-wide profiler for Linux. Read
&lt;br&gt;&amp;gt;&amp;gt; more at &lt;a href=&quot;http://oprofile.sf.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oprofile.sf.net&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; OProfile 0.9.6 has been released. OProfile is still in alpha,
&lt;br&gt;&amp;gt;&amp;gt; but has been proven stable for many users.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; New features
&lt;br&gt;&amp;gt;&amp;gt; ------------
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; None -- this is strictly a bug-fix release.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Bug fixes
&lt;br&gt;&amp;gt;&amp;gt; ---------
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The main reason for this bug-fix release is to fix three regression bugs that
&lt;br&gt;&amp;gt;&amp;gt; occurred in 0.9.5:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 	1. bug #2845063: opcontrol cannot start daemon in timer mode
&lt;br&gt;&amp;gt;&amp;gt; 	2. Improper handling of separate debuginfo files
&lt;br&gt;&amp;gt;&amp;gt; 	3. XML callgraph output has no symbol-level sample counts
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Other fixes made in this release are:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Fix ophelp -X output for IBS events
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Fix ophelp output for &amp;quot;counter:cpuid&amp;quot; and &amp;quot;ext:xxx&amp;quot; case
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Fix opcontrol to prevent &amp;quot;Stopping profiling&amp;quot; message when profiler isn't running
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Fix opcontrol to kill daemon only if it's running
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Fix buffer overflows in xml generator, which can result in segfault
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Add extra #includes in agents/jvmpi code since newer libstdc++ header files
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;do not include standard C header files
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Update events and unitmasks for AMD Family10 from publication 31116 revision
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;3.34 and fixes
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Update events and groups for IBM POWER7
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Change element definition for callers and callees in opreport.xsd and bumped
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;schema version to &amp;quot;3.0&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Fix start-daemon problem on ia64
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Known problems
&lt;br&gt;&amp;gt;&amp;gt; --------------
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If NMI watchdog is not disabled (x86), opcontrol may fail to
&lt;br&gt;&amp;gt;&amp;gt; allocate the hardware performance counter(s) it needs (bug #1468916).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; configure script fails to handle --without-java correctly (bug #2153620).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When profiling stripped libraries where OProfile needs to access a debuginfo
&lt;br&gt;&amp;gt;&amp;gt; file, it's possible that src filename/line # information may be incorrect
&lt;br&gt;&amp;gt;&amp;gt; (bug #2573008).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Many Alpha ev67 events do not work (bug #931875).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; For 2.2 kernels, the module must be compiled as the same user
&lt;br&gt;&amp;gt;&amp;gt; that owns the kernel source tree.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;&amp;gt;&amp;gt; is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;&amp;gt;&amp;gt; developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;&amp;gt;&amp;gt; ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; oprofile-list mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433706&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; oprofile-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433706&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433706&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Release-Candidate-1-for-OProfile-0.9.6-tp26133359p26433706.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26419500</id>
	<title>RTC mode with a 2.6 kernel?</title>
	<published>2009-11-18T18:42:07Z</published>
	<updated>2009-11-18T18:42:07Z</updated>
	<author>
		<name>Washington Ratso</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;I am running Linux 2.6.26 on an MPC8248 (which does not provide support to use the hardware performance counters ).&amp;nbsp; HZ=250.&amp;nbsp; Thus, I am getting samples every 4 ms.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;I would like finer resolution.&amp;nbsp; Can I use RTC mode with my 2.6 kernel?&amp;nbsp; If so, how?&amp;nbsp; When I try to force it, I get:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse #&amp;nbsp; /usr/bin/opcontrol --event=RTC_INTERRUPTS:4096&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;You cannot specify any performance counter events&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;because OProfile is in timer mode.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;=
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26419500&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RTC-mode-with-a-2.6-kernel--tp26419500p26419500.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26419405</id>
	<title>oprofile on AMD Opteron Processor 2354 (ProLiant BL465c G5 )</title>
	<published>2009-11-18T18:27:36Z</published>
	<updated>2009-11-18T18:27:36Z</updated>
	<author>
		<name>Monchiero, Matteo</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;I&amp;#8217;m running oprofile 0.9.5 on a Quad-Core AMD
Opteron(tm) Processor 2354, Linux 2.6.29.6. My machine is a ProLiant BL465c G5.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I do &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;opcontrol --start --vmlinux
/home/monchier/linux-2.6.29.6/vmlinux -e CPU_CLK_UNHALTED:500000
--separate=lib,cpu&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;yes&amp;gt;/dev/null&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;opcontrol --dump&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;opreport&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;but what I get is &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;opreport error: No sample file found: try running opcontrol
--dump&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;or specify a session containing sample files&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I put a printk in &amp;nbsp;/drivers/oprofile/cpu_buffer.c in
the log_sample function, and this is never triggered. Only if I generate an NMI
from my BMC, it gets triggered, but only once. I guess, this means that if I
generate other NMIs these are not detected.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Anybody knows of any issue with this setup?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Any help is welcome,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Thanks&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;--matteo&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26419405&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/oprofile-on-AMD-Opteron-Processor-2354-%28ProLiant-BL465c-G5-%29-tp26419405p26419405.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26418575</id>
	<title>Stable configuration for oprofile + Xen</title>
	<published>2009-11-18T16:50:17Z</published>
	<updated>2009-11-18T16:50:17Z</updated>
	<author>
		<name>Nishikant Deshmukh</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;   I have 2 Xeon processors (Dell T7400) and I want to know a stable Xen distribution on which oprofile (xenoprof) can be run.&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Best Regards,&lt;br&gt;Nishikant Deshmukh&lt;br&gt;Graduate Student&lt;br&gt;
Johns Hopkins University Homewood Campus&lt;br&gt;&lt;br&gt;Sent from Baltimore, MD, United States&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418575&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stable-configuration-for-oprofile-%2B-Xen-tp26418575p26418575.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26418228</id>
	<title>Re: Trouble profiling kernel module</title>
	<published>2009-11-18T16:10:05Z</published>
	<updated>2009-11-18T16:10:05Z</updated>
	<author>
		<name>Washington Ratso</name>
	</author>
	<content type="html">Sent from my iPhone 3G
&lt;br&gt;&lt;br&gt;On Nov 18, 2009, at 4:00 PM, Maynard Johnson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418228&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maynardj@...&lt;/a&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418228&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Nov 18, 2009, at 10:08 AM, Maynard Johnson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418228&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maynardj@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418228&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Nov 17, 2009, at 9:23 AM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418228&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; By looking at EIP values, I can see that samples are being &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; collected
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; for my test module. &amp;nbsp;In the function get_file in daemon/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; opd_sfile.c
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; which is called after issuing the opcontrol --shutdown command, I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; can see trans-&amp;gt;pc values that correspond to the EIP values of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; samples collected for my test module but no new sample file is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; created for these samples.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Since I can see the samples are there for my test module, why &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; isn't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; a sample file created for the test module samples?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; When get_file is called for the samples for my test module, the &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; file
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it gets is /var/lib/oprofile/samples//current/{kern}/no-vmlinux/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; {dep}/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; {kern}/no-vmlinux/TIMER.0.0.all.all.all, which has a nonzero count.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thus, no sample file is created for my test module.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Why would samples for my test module result in getting the sample
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; file
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; for no-vmlinux?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Back on Nov 10, Jose Santos correctly told you that using the --no-
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; vmlinux option will not work if you want to see samples for kernel
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; modules. &amp;nbsp;When you use that option, oprofile throws all kernel
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; samples (whether from base kernel or kernel modules) into the no-
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; vmlinux sample file.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -Maynard
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thank you for the clarification. &amp;nbsp;Here are the commands I am now &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; using
&lt;br&gt;&amp;gt;&amp;gt; after the system boots up:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # rm -rf /var/lib/oprofile/
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # mkdir /var/lib/oprofile/
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # mount -t ramfs non /var/lib/oprofile/
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # rm /root/.oprofile/daemonrc
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # rm /var/log/messages
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # insmod oprofile.ko
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # insmod helloworld.ko
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # /usr/bin/opcontrol --setup --kernel-
&lt;br&gt;&amp;gt;&amp;gt; range=0xC0000000,0xC9500000 --vml
&lt;br&gt;&amp;gt;&amp;gt; inux=/root/vmlinux.PRO_MOD
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # /usr/bin/opcontrol --start
&lt;br&gt;&amp;gt;&amp;gt; Using 2.6+ OProfile kernel interface.
&lt;br&gt;&amp;gt;&amp;gt; Reading module info.
&lt;br&gt;&amp;gt;&amp;gt; Using log file /var/lib/oprofile/samples/oprofiled.log
&lt;br&gt;&amp;gt;&amp;gt; Daemon started.
&lt;br&gt;&amp;gt;&amp;gt; Profiler running.
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # /usr/bin/opcontrol --shutdown
&lt;br&gt;&amp;gt;&amp;gt; Stopping profiling.
&lt;br&gt;&amp;gt;&amp;gt; Killing daemon.
&lt;br&gt;&amp;gt;&amp;gt; Eclipse # /usr/bin/opreport --image-path=/root
&lt;br&gt;&amp;gt;&amp;gt; CPU: CPU with timer interrupt, speed 0 MHz (estimated)
&lt;br&gt;&amp;gt;&amp;gt; Profiling through timer interrupt
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TIMER:0|
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; samples| &amp;nbsp; &amp;nbsp; &amp;nbsp;%|
&lt;br&gt;&amp;gt;&amp;gt; ------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;9373 93.0600 vmlinux.PRO_MOD
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 587 &amp;nbsp;5.8280 libc-2.6.so
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;39 &amp;nbsp;0.3872 oprofiled
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;27 &amp;nbsp;0.2681EclipseMSW.elf.NOV8
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23 &amp;nbsp;0.2284 busybox-1.15.2.mtab
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;19 &amp;nbsp;0.1886 ld-2.6.so
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3 &amp;nbsp;0.0298 snmpd
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0.0099 gateway
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Using printf's, I can see in get_file that for the first sample (and
&lt;br&gt;&amp;gt;&amp;gt; all subsequent samples) with a trans-&amp;gt;pc value that corresponds to
&lt;br&gt;&amp;gt;&amp;gt; helloworld (e.g., 0xC907C0DC, helloworld start=0xC907C000
&lt;br&gt;&amp;gt;&amp;gt; end=0xC907C5a0), odb_open_count(file) returns 1. &amp;nbsp;Since &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; odb_open_count
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hmmm . . . from the addresses you state above for where your kernel &amp;nbsp;
&lt;br&gt;&amp;gt; module resides, it seems you are incorrectly specifying the --kernel- 
&lt;br&gt;&amp;gt; range value. &amp;nbsp;That value should *only* be for the base kernel. &amp;nbsp;On &amp;nbsp;
&lt;br&gt;&amp;gt; most platforms, you don't need to specify this value at all -- &amp;nbsp;
&lt;br&gt;&amp;gt; opcontrol will automagically figure it out.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Maynard
&lt;/div&gt;&lt;br&gt;You are correct. &amp;nbsp;The end of the .text section should be 0xC02633B0. &amp;nbsp; 
&lt;br&gt;I now see my sample module in the report.
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (file) returns 1, no new sample file is created for helloworld.ko.
&lt;br&gt;&amp;gt;&amp;gt; The value of &amp;nbsp;odb-&amp;gt;data-&amp;gt;filename in odb_open_count is /var/lib/
&lt;br&gt;&amp;gt;&amp;gt; oprofile/samples//current/{root}//root/vmlinux.PRO_MOD/{dep}/{root}//
&lt;br&gt;&amp;gt;&amp;gt; root/vmlinux.PRO_MOD/TIMER.0.0.all.all.all. &amp;nbsp;Thus, the samples for
&lt;br&gt;&amp;gt;&amp;gt; helloworld.ko are put into the sample file for vmlinux.PRO_MOD.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Should odb_open_count(file) return 1 when odb_open_count(file) is
&lt;br&gt;&amp;gt;&amp;gt; called for the first time for a sample from helloworld.ko? &amp;nbsp;Shouldn't
&lt;br&gt;&amp;gt;&amp;gt; odb-&amp;gt;data be NULL the first time a sample is processed for
&lt;br&gt;&amp;gt;&amp;gt; helloworld.ko so that a sample file for helloworld.ko is created?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Nov 12, 2009, at 3:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418228&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Could the fact that I am following the instructions below be an
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; issue as far as sampling inserted kernel modules? &amp;nbsp;Of course,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; samples for other than the kernel modules seem to be stored just
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; fine.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; If running from an image in the internal jffs2 file system, you
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; will need to mount another file system to store the samples. &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Below
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; are examples of the commands to set that up. You will need to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; modify for local conditions.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mkdir /var/lib/oprofile
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mount -t ramfs none /var/lib/oprofile
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; =
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; =
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418228&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-profiling-kernel-module-tp26289063p26418228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26418147</id>
	<title>Re: Trouble profiling kernel module</title>
	<published>2009-11-18T16:00:03Z</published>
	<updated>2009-11-18T16:00:03Z</updated>
	<author>
		<name>Maynard Johnson</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418147&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Nov 18, 2009, at 10:08 AM, Maynard Johnson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418147&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maynardj@...&lt;/a&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418147&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Nov 17, 2009, at 9:23 AM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418147&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; By looking at EIP values, I can see that samples are being collected
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; for my test module. &amp;nbsp;In the function get_file in daemon/opd_sfile.c
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; which is called after issuing the opcontrol --shutdown command, I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; can see trans-&amp;gt;pc values that correspond to the EIP values of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; samples collected for my test module but no new sample file is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; created for these samples.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Since I can see the samples are there for my test module, why isn't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; a sample file created for the test module samples?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; When get_file is called for the samples for my test module, the file
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it gets is /var/lib/oprofile/samples//current/{kern}/no-vmlinux/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; {dep}/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; {kern}/no-vmlinux/TIMER.0.0.all.all.all, which has a nonzero count.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thus, no sample file is created for my test module.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Why would samples for my test module result in getting the sample &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; file
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; for no-vmlinux?
&lt;br&gt;&amp;gt;&amp;gt; Back on Nov 10, Jose Santos correctly told you that using the --no- 
&lt;br&gt;&amp;gt;&amp;gt; vmlinux option will not work if you want to see samples for kernel &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; modules. &amp;nbsp;When you use that option, oprofile throws all kernel &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; samples (whether from base kernel or kernel modules) into the no- 
&lt;br&gt;&amp;gt;&amp;gt; vmlinux sample file.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Maynard
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you for the clarification. &amp;nbsp;Here are the commands I am now using &amp;nbsp;
&lt;br&gt;&amp;gt; after the system boots up:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Eclipse # rm -rf /var/lib/oprofile/
&lt;br&gt;&amp;gt; Eclipse # mkdir /var/lib/oprofile/
&lt;br&gt;&amp;gt; Eclipse # mount -t ramfs non /var/lib/oprofile/
&lt;br&gt;&amp;gt; Eclipse # rm /root/.oprofile/daemonrc
&lt;br&gt;&amp;gt; Eclipse # rm /var/log/messages
&lt;br&gt;&amp;gt; Eclipse # insmod oprofile.ko
&lt;br&gt;&amp;gt; Eclipse # insmod helloworld.ko
&lt;br&gt;&amp;gt; Eclipse # /usr/bin/opcontrol --setup --kernel- 
&lt;br&gt;&amp;gt; range=0xC0000000,0xC9500000 --vml
&lt;br&gt;&amp;gt; inux=/root/vmlinux.PRO_MOD
&lt;br&gt;&amp;gt; Eclipse # /usr/bin/opcontrol --start
&lt;br&gt;&amp;gt; Using 2.6+ OProfile kernel interface.
&lt;br&gt;&amp;gt; Reading module info.
&lt;br&gt;&amp;gt; Using log file /var/lib/oprofile/samples/oprofiled.log
&lt;br&gt;&amp;gt; Daemon started.
&lt;br&gt;&amp;gt; Profiler running.
&lt;br&gt;&amp;gt; Eclipse # /usr/bin/opcontrol --shutdown
&lt;br&gt;&amp;gt; Stopping profiling.
&lt;br&gt;&amp;gt; Killing daemon.
&lt;br&gt;&amp;gt; Eclipse # /usr/bin/opreport --image-path=/root
&lt;br&gt;&amp;gt; CPU: CPU with timer interrupt, speed 0 MHz (estimated)
&lt;br&gt;&amp;gt; Profiling through timer interrupt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TIMER:0|
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;samples| &amp;nbsp; &amp;nbsp; &amp;nbsp;%|
&lt;br&gt;&amp;gt; ------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9373 93.0600 vmlinux.PRO_MOD
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;587 &amp;nbsp;5.8280 libc-2.6.so
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 39 &amp;nbsp;0.3872 oprofiled
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 27 &amp;nbsp;0.2681EclipseMSW.elf.NOV8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 23 &amp;nbsp;0.2284 busybox-1.15.2.mtab
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19 &amp;nbsp;0.1886 ld-2.6.so
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp;0.0298 snmpd
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp;0.0099 gateway
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Using printf's, I can see in get_file that for the first sample (and &amp;nbsp;
&lt;br&gt;&amp;gt; all subsequent samples) with a trans-&amp;gt;pc value that corresponds to &amp;nbsp;
&lt;br&gt;&amp;gt; helloworld (e.g., 0xC907C0DC, helloworld start=0xC907C000 &amp;nbsp;
&lt;br&gt;&amp;gt; end=0xC907C5a0), odb_open_count(file) returns 1. &amp;nbsp;Since odb_open_count
&lt;/div&gt;&lt;br&gt;hmmm . . . from the addresses you state above for where your kernel module resides, it seems you are incorrectly specifying the --kernel-range value. &amp;nbsp;That value should *only* be for the base kernel. &amp;nbsp;On most platforms, you don't need to specify this value at all -- opcontrol will automagically figure it out.
&lt;br&gt;&lt;br&gt;-Maynard
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; (file) returns 1, no new sample file is created for helloworld.ko. &amp;nbsp; 
&lt;br&gt;&amp;gt; The value of &amp;nbsp;odb-&amp;gt;data-&amp;gt;filename in odb_open_count is /var/lib/ 
&lt;br&gt;&amp;gt; oprofile/samples//current/{root}//root/vmlinux.PRO_MOD/{dep}/{root}// 
&lt;br&gt;&amp;gt; root/vmlinux.PRO_MOD/TIMER.0.0.all.all.all. &amp;nbsp;Thus, the samples for &amp;nbsp;
&lt;br&gt;&amp;gt; helloworld.ko are put into the sample file for vmlinux.PRO_MOD.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Should odb_open_count(file) return 1 when odb_open_count(file) is &amp;nbsp;
&lt;br&gt;&amp;gt; called for the first time for a sample from helloworld.ko? &amp;nbsp;Shouldn't &amp;nbsp;
&lt;br&gt;&amp;gt; odb-&amp;gt;data be NULL the first time a sample is processed for &amp;nbsp;
&lt;br&gt;&amp;gt; helloworld.ko so that a sample file for helloworld.ko is created?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Nov 12, 2009, at 3:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418147&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Could the fact that I am following the instructions below be an
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; issue as far as sampling inserted kernel modules? &amp;nbsp;Of course,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; samples for other than the kernel modules seem to be stored just
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; fine.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; If running from an image in the internal jffs2 file system, you
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; will need to mount another file system to store the samples. Below
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; are examples of the commands to set that up. You will need to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; modify for local conditions.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mkdir /var/lib/oprofile
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mount -t ramfs none /var/lib/oprofile
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; =
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; =
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418147&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-profiling-kernel-module-tp26289063p26418147.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26416585</id>
	<title>Re: Trouble profiling kernel module</title>
	<published>2009-11-18T13:58:33Z</published>
	<updated>2009-11-18T13:58:33Z</updated>
	<author>
		<name>Washington Ratso</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;On Nov 18, 2009, at 10:08 AM, Maynard Johnson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416585&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maynardj@...&lt;/a&gt;&amp;gt; wrote:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;span&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416585&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:&lt;/span&gt;&lt;br&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;On Nov 17, 2009, at 9:23 AM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416585&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;By looking at EIP values, I can see that samples are being collected &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;for my test module. &amp;nbsp;In the function get_file in daemon/opd_sfile.c &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;which is called after issuing the opcontrol --shutdown command, I &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;can see trans-&amp;gt;pc values that correspond to the EIP values of &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;samples collected for my test module but no new sample file is &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;created for these samples.&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;Since I can see the samples are there for my test module, why isn't &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;a sample file created for the test module samples?&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;When get_file is called for the samples for my test module, the file &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;it gets is /var/lib/oprofile/samples//current/{kern}/no-vmlinux/{dep}/ &lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;{kern}/no-vmlinux/TIMER.0.0.all.all.all, which has a nonzero count. &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;Thus, no sample file is created for my test module.&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;Why would samples for my test module result in getting the sample file &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;for no-vmlinux?&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;span&gt;Back on Nov 10, Jose Santos correctly told you that using the --no-vmlinux option will not work if you want to see samples for kernel modules. &amp;nbsp;When you use that option, oprofile throws all kernel samples (whether from base kernel or kernel modules) into the no-vmlinux sample file.&lt;/span&gt;&lt;br&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;-Maynard&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Thank you for the clarification.&amp;nbsp; Here are the commands I am now using after the system boots up:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # rm -rf /var/lib/oprofile/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # mkdir /var/lib/oprofile/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # mount -t ramfs non /var/lib/oprofile/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # rm /root/.oprofile/daemonrc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # rm /var/log/messages&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # insmod oprofile.ko&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # insmod helloworld.ko&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # /usr/bin/opcontrol --setup --kernel-range=0xC0000000,0xC9500000 --vml&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;inux=/root/vmlinux.PRO_MOD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # /usr/bin/opcontrol --start&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Using 2.6+ OProfile kernel interface.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Reading module info.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Using log file /var/lib/oprofile/samples/oprofiled.log&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Daemon started.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Profiler running.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # /usr/bin/opcontrol --shutdown&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Stopping profiling.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Killing daemon.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # /usr/bin/opreport --image-path=/root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;CPU: CPU with timer interrupt, speed 0 MHz (estimated)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Profiling through timer interrupt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIMER:0|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:9373%2093.0600&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;9373 93.0600&lt;/a&gt;&amp;nbsp;vmlinux.PRO_MOD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:587%C2%A0%205.8280&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;587&amp;nbsp; 5.8280&lt;/a&gt;&amp;nbsp;libc-2.6.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:39%C2%A0%200.3872&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;39&amp;nbsp; 0.3872&lt;/a&gt;&amp;nbsp;oprofiled&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:27%C2%A0%200.2681&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;27&amp;nbsp; 0.2681&lt;/a&gt;EclipseMSW.elf.NOV8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:23%C2%A0%200.2284&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;23&amp;nbsp; 0.2284&lt;/a&gt;&amp;nbsp;busybox-1.15.2.mtab&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:19%C2%A0%200.1886&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;19&amp;nbsp; 0.1886&lt;/a&gt;&amp;nbsp;ld-2.6.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp; 0.0298 snmpd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0.0099 gateway&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Using printf's, I can see in get_file that for the first sample (and all subsequent samples) with a trans-&amp;gt;pc value that corresponds to helloworld (e.g., 0xC907C0DC, helloworld start=0xC907C000 end=0xC907C5a0), odb_open_count(file) returns 1.&amp;nbsp; Since odb_open_count(file) returns 1, no new sample file is created for helloworld.ko.&amp;nbsp; The value of &amp;nbsp;odb-&amp;gt;data-&amp;gt;filename in odb_open_count is /var/lib/oprofile/samples//current/{root}//root/vmlinux.PRO_MOD/{dep}/{root}//root/vmlinux.PRO_MOD/TIMER.0.0.all.all.all.&amp;nbsp; Thus, the samples for helloworld.ko are put into the sample file for vmlinux.PRO_MOD.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Should odb_open_count(file) return 1 when odb_open_count(file) is called for the first time for a sample from helloworld.ko?&amp;nbsp; Shouldn't odb-&amp;gt;data be NULL the first time a sample is processed for helloworld.ko so that a sample file for helloworld.ko is created?&lt;/p&gt;&lt;/span&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;On Nov 12, 2009, at 3:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416585&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;Could the fact that I am following the instructions below be an &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;issue as far as sampling inserted kernel modules? &amp;nbsp;Of course, &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;samples for other than the kernel modules seem to be stored just &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;fine.&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;If running from an image in the internal jffs2 file system, you &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;will need to mount another file system to store the samples. Below &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;are examples of the commands to set that up. You will need to &amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;modify for local conditions.&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;mkdir /var/lib/oprofile&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;mount -t ramfs none /var/lib/oprofile&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;=&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;=&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/body&gt;&lt;/html&gt;=
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416585&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-profiling-kernel-module-tp26289063p26416585.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26412829</id>
	<title>Re: Trouble profiling kernel module</title>
	<published>2009-11-18T10:08:37Z</published>
	<updated>2009-11-18T10:08:37Z</updated>
	<author>
		<name>Maynard Johnson</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412829&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Nov 17, 2009, at 9:23 AM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412829&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; By looking at EIP values, I can see that samples are being collected &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; for my test module. &amp;nbsp;In the function get_file in daemon/opd_sfile.c &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; which is called after issuing the opcontrol --shutdown command, I &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; can see trans-&amp;gt;pc values that correspond to the EIP values of &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; samples collected for my test module but no new sample file is &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; created for these samples.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Since I can see the samples are there for my test module, why isn't &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; a sample file created for the test module samples?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When get_file is called for the samples for my test module, the file &amp;nbsp;
&lt;br&gt;&amp;gt; it gets is /var/lib/oprofile/samples//current/{kern}/no-vmlinux/{dep}/ 
&lt;br&gt;&amp;gt; {kern}/no-vmlinux/TIMER.0.0.all.all.all, which has a nonzero count. &amp;nbsp; 
&lt;br&gt;&amp;gt; Thus, no sample file is created for my test module.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Why would samples for my test module result in getting the sample file &amp;nbsp;
&lt;br&gt;&amp;gt; for no-vmlinux?
&lt;/div&gt;Back on Nov 10, Jose Santos correctly told you that using the --no-vmlinux option will not work if you want to see samples for kernel modules. &amp;nbsp;When you use that option, oprofile throws all kernel samples (whether from base kernel or kernel modules) into the no-vmlinux sample file.
&lt;br&gt;&lt;br&gt;-Maynard
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Nov 12, 2009, at 3:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412829&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Could the fact that I am following the instructions below be an &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; issue as far as sampling inserted kernel modules? &amp;nbsp;Of course, &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; samples for other than the kernel modules seem to be stored just &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; fine.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If running from an image in the internal jffs2 file system, you &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; will need to mount another file system to store the samples. Below &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; are examples of the commands to set that up. You will need to &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; modify for local conditions.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; mkdir /var/lib/oprofile
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; mount -t ramfs none /var/lib/oprofile
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; =
&lt;br&gt;&amp;gt;&amp;gt; =
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412829&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-profiling-kernel-module-tp26289063p26412829.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26412645</id>
	<title>Re: Trouble profiling kernel module</title>
	<published>2009-11-18T09:55:38Z</published>
	<updated>2009-11-18T09:55:38Z</updated>
	<author>
		<name>Maynard Johnson</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Nov 17, 2009, at 4:43 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412645&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; On Nov 17, 2009, at 9:23 AM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412645&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; By looking at EIP values, I can see that samples are being &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; collected for my test module. &amp;nbsp;In the function get_file in daemon/ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; opd_sfile.c which is called after issuing the opcontrol --shutdown &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; command, I can see trans-&amp;gt;pc values that correspond to the EIP &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; values of samples collected for my test module but no new sample &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; file is created for these samples.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Since I can see the samples are there for my test module, why isn't &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; a sample file created for the test module samples?
&lt;br&gt;&amp;gt;&amp;gt; When get_file is called for the samples for my test module, the file &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; it gets is /var/lib/oprofile/samples//current/{kern}/no-vmlinux/ 
&lt;br&gt;&amp;gt;&amp;gt; {dep}/{kern}/no-vmlinux/TIMER.0.0.all.all.all, which has a nonzero &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; count. &amp;nbsp;Thus, no sample file is created for my test module.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Why would samples for my test module result in getting the sample &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; file for no-vmlinux?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I put vmlinux.PRO_MOD on my board. &amp;nbsp;Looking at opreport output for the &amp;nbsp;
&lt;br&gt;&amp;gt; same sampling, the results look inconsistent.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Running /usr/bin/opreport gave:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Eclipse # /usr/bin/opreport
&lt;br&gt;&amp;gt; CPU: CPU with timer interrupt, speed 0 MHz (estimated)
&lt;br&gt;&amp;gt; Profiling through timer interrupt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TIMER:0|
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;samples| &amp;nbsp; &amp;nbsp; &amp;nbsp;%|
&lt;br&gt;&amp;gt; ------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7703 93.3923 vmlinux.PRO_MOD
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;464 &amp;nbsp;5.6256 libc-2.6.so
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 26 &amp;nbsp;0.3152 oprofiled
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19 &amp;nbsp;0.2304EclipseMSW.elf.NOV8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 17 &amp;nbsp;0.2061 busybox-1.15.2.mtab
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15 &amp;nbsp;0.1819 ld-2.6.so
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp;0.0364 snmpd
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp;0.0121 libEclipsePai.so
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If 7703 samples is 93.3923 %, then total samples = 8248.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My test module is in the /root directory. &amp;nbsp;Running /usr/bin/opreport - 
&lt;br&gt;&amp;gt; c --image-path=/root gave:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /usr/bin/opreport -c --image-path=/root
&lt;br&gt;&amp;gt; CPU: CPU with timer interrupt, speed 0 MHz (estimated)
&lt;br&gt;&amp;gt; Profiling through timer interrupt
&lt;br&gt;&amp;gt; samples &amp;nbsp;% &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;app name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; symbol name
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt; 1343 &amp;nbsp; &amp;nbsp; 38.0993 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__delay
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;1343 &amp;nbsp; &amp;nbsp; 100.000 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__delay [self]
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt; 464 &amp;nbsp; &amp;nbsp; &amp;nbsp;13.1631 &amp;nbsp;libc-2.6.so &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/lib/libc-2.6.so
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;464 &amp;nbsp; &amp;nbsp; &amp;nbsp;100.000 &amp;nbsp;libc-2.6.so &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/lib/libc-2.6.so [self]
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt; 267 &amp;nbsp; &amp;nbsp; &amp;nbsp; 7.5745 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;memset
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;267 &amp;nbsp; &amp;nbsp; &amp;nbsp;100.000 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;memset [self]
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt; 100 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.8369 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;memcpy
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;100 &amp;nbsp; &amp;nbsp; &amp;nbsp;100.000 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;memcpy [self]
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt; 83 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2.3546 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cfi_amdstd_write_buffers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;83 &amp;nbsp; &amp;nbsp; &amp;nbsp; 100.000 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cfi_amdstd_write_buffers &amp;nbsp;
&lt;br&gt;&amp;gt; [self]
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt; 61 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.7305 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;deflate_fast
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;61 &amp;nbsp; &amp;nbsp; &amp;nbsp; 100.000 &amp;nbsp;vmlinux.PRO_MOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;deflate_fast [self]
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I DELETED THE REST OF THE OUTPUT.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If 1343 samples is 38.0993 %, then total samples = 3525.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Are these results inconsistent or am I mistaken?
&lt;/div&gt;You're mistaken. &amp;nbsp;Please read section 4.2.3 in the oprofile manual on &amp;quot;Callgraph output&amp;quot;. &amp;nbsp;As it states there, &amp;quot;The samples and percentage values here (in entries above the non-indented line) refer to the number of times we took a sample where this call was found in the stack; the percentage is relative to all other callers of the function we're focussing on.&amp;quot;
&lt;br&gt;&lt;br&gt;-Maynard
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Nov 12, 2009, at 3:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412645&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Could the fact that I am following the instructions below be an &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; issue as far as sampling inserted kernel modules? &amp;nbsp;Of course, &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; samples for other than the kernel modules seem to be stored just &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; fine.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; If running from an image in the internal jffs2 file system, you &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; will need to mount another file system to store the samples. Below &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; are examples of the commands to set that up. You will need to &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; modify for local conditions.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mkdir /var/lib/oprofile
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mount -t ramfs none /var/lib/oprofile
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; =
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; =
&lt;br&gt;&amp;gt;&amp;gt; =
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26412645&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-profiling-kernel-module-tp26289063p26412645.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26409140</id>
	<title>Oprofile on ARM: cpu_type 'unset' is not valid</title>
	<published>2009-11-18T06:37:23Z</published>
	<updated>2009-11-18T06:37:23Z</updated>
	<author>
		<name>Bugzilla from robert1peter@web.de</name>
	</author>
	<content type="html">Hello!
&lt;br&gt;&lt;br&gt;I am trying to use Oprofile on an ARM-RealView PB1176 board (ARM11 
&lt;br&gt;processor). When I try to initialize the daemon, I get:
&lt;br&gt;&lt;br&gt;opcontrol --init
&lt;br&gt;cpu_type 'unset' is not valid
&lt;br&gt;you should upgrade oprofile or force the use of timer mode
&lt;br&gt;&lt;br&gt;I use current userspace tools (0.9.5). It seems that the CPU is not 
&lt;br&gt;correctly recognized by the kernel:
&lt;br&gt;&lt;br&gt;(dmesg)
&lt;br&gt;oprofile: cpu_architecture() returns 0x9, using arm/11mpcore model
&lt;br&gt;&lt;br&gt;Kernel is 2.6.28. In the kernel-tree (arch/arm/include/asm/system.h), 
&lt;br&gt;there is no CPU-Type defind for 0x9, so maybe it defaults to arm/11mpcore.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Any help would be appreciated!
&lt;br&gt;&lt;br&gt;Robert
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26409140&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Oprofile-on-ARM%3A-cpu_type-%27unset%27-is-not-valid-tp26409140p26409140.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26401763</id>
	<title>Re: Trouble profiling kernel module</title>
	<published>2009-11-17T19:04:08Z</published>
	<updated>2009-11-17T19:04:08Z</updated>
	<author>
		<name>Washington Ratso</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;On Nov 17, 2009, at 4:43 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26401763&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;On Nov 17, 2009, at 9:23 AM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26401763&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt;&lt;/a&gt; wrote:&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;div&gt;By looking at EIP values, I can see that samples are being collected for my test module. &amp;nbsp;In the function get_file in daemon/opd_sfile.c which is called after issuing the opcontrol --shutdown command, I can see trans-&amp;gt;pc values that correspond to the EIP values of samples collected for my test module but no new sample file is created for these samples.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Since I can see the samples are there for my test module, why isn't a sample file created for the test module samples?&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656); font-family: Calibri; &quot;&gt;When get_file is called for the samples for my test module, the file it gets is /var/lib/oprofile/samples//current/{kern}/no-vmlinux/{dep}/{kern}/no-vmlinux/TIMER.0.0.all.all.all, which has a nonzero count.&amp;nbsp; Thus, no sample file is created for my test module.&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Why would samples for my test module result in getting the sample file for no-vmlinux?&lt;/p&gt;&lt;/span&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;I put vmlinux.PRO_MOD on my board. &amp;nbsp;Looking at opreport output for the same sampling, the results look inconsistent.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Running /usr/bin/opreport gave:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Eclipse # /usr/bin/opreport&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;CPU: CPU with timer interrupt, speed 0 MHz (estimated)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Profiling through timer interrupt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIMER:0|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:7703%2093.3923&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;7703 93.3923&lt;/a&gt;&amp;nbsp;vmlinux.PRO_MOD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:464%C2%A0%205.6256&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;464&amp;nbsp; 5.6256&lt;/a&gt;&amp;nbsp;libc-2.6.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:26%C2%A0%200.3152&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;26&amp;nbsp; 0.3152&lt;/a&gt;&amp;nbsp;oprofiled&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:19%C2%A0%200.2304&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;19&amp;nbsp; 0.2304&lt;/a&gt;EclipseMSW.elf.NOV8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:17%C2%A0%200.2061&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;17&amp;nbsp; 0.2061&lt;/a&gt;&amp;nbsp;busybox-1.15.2.mtab&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;tel:15%C2%A0%200.1819&quot; x-apple-data-detectors=&quot;true&quot; style=&quot;color: blue; text-decoration: underline; &quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;15&amp;nbsp; 0.1819&lt;/a&gt;&amp;nbsp;ld-2.6.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp; 0.0364 snmpd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0.0121 libEclipsePai.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;If 7703 samples is 93.3923 %, then total samples = 8248.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;My test module is in the /root directory.&amp;nbsp; Running /usr/bin/opreport -c --image-path=/root gave:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;/usr/bin/opreport -c --image-path=/root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;CPU: CPU with timer interrupt, speed 0 MHz (estimated)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;Profiling through timer interrupt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;samples&amp;nbsp; %&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;-------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;1343&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 38.0993&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __delay&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp; 1343&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100.000&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __delay [self]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;-------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;464&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13.1631&amp;nbsp; libc-2.6.so&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /lib/libc-2.6.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp; 464&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100.000&amp;nbsp; libc-2.6.so&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /lib/libc-2.6.so [self]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;-------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;267&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.5745&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memset&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp; 267&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100.000&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memset [self]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;-------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.8369&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memcpy&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp; 100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100.000&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memcpy [self]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;-------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;83&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.3546&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cfi_amdstd_write_buffers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp; 83&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100.000&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cfi_amdstd_write_buffers [self]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;-------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;61&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.7305&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; deflate_fast&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp; 61&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100.000&amp;nbsp; vmlinux.PRO_MOD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; deflate_fast [self]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;-------------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;I DELETED THE REST OF THE OUTPUT.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;If 1343 samples is 38.0993 %, then total samples = 3525.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Are these results inconsistent or am I mistaken?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;/span&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;On Nov 12, 2009, at 3:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26401763&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26401763&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt;&lt;/a&gt; wrote:&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Could the fact that I am following the instructions below be an issue as far as sampling inserted kernel modules?&amp;nbsp; Of course, samples for other than the kernel modules seem to be stored just fine.&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656); &quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;disc&quot; style=&quot;margin-bottom: 0in; &quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: 'Times New Roman', serif; &quot;&gt;If running from an image in the internal jffs2 file system, you will need to mount another file system to store the samples. Below are examples of the commands to set that up. You will need to modify for local conditions.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: 'Courier New'; &quot;&gt;mkdir /var/lib/oprofile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: 'Courier New'; &quot;&gt;mount -t ramfs none /var/lib/oprofile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;=
&lt;/div&gt;&lt;/blockquote&gt;=
&lt;/div&gt;&lt;/blockquote&gt;=
&lt;/div&gt;&lt;/blockquote&gt;&lt;/body&gt;&lt;/html&gt;=
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26401763&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-profiling-kernel-module-tp26289063p26401763.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26400572</id>
	<title>Re: Trouble profiling kernel module</title>
	<published>2009-11-17T16:43:39Z</published>
	<updated>2009-11-17T16:43:39Z</updated>
	<author>
		<name>Washington Ratso</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;On Nov 17, 2009, at 9:23 AM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400572&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;div&gt;By looking at EIP values, I can see that samples are being collected for my test module. &amp;nbsp;In the function get_file in daemon/opd_sfile.c which is called after issuing the opcontrol --shutdown command, I can see trans-&amp;gt;pc values that correspond to the EIP values of samples collected for my test module but no new sample file is created for these samples.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Since I can see the samples are there for my test module, why isn't a sample file created for the test module samples?&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656); font-family: Calibri; &quot;&gt;When get_file is called for the samples for my test module, the file it gets is /var/lib/oprofile/samples//current/{kern}/no-vmlinux/{dep}/{kern}/no-vmlinux/TIMER.0.0.all.all.all, which has a nonzero count.&amp;nbsp; Thus, no sample file is created for my test module.&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Why would samples for my test module result in getting the sample file for no-vmlinux?&lt;/p&gt;&lt;/span&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;On Nov 12, 2009, at 3:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400572&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt;&lt;/a&gt; wrote:&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Could the fact that I am following the instructions below be an issue as far as sampling inserted kernel modules?&amp;nbsp; Of course, samples for other than the kernel modules seem to be stored just fine.&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656); &quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;disc&quot; style=&quot;margin-bottom: 0in; &quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: 'Times New Roman', serif; &quot;&gt;If running from an image in the internal jffs2 file system, you will need to mount another file system to store the samples. Below are examples of the commands to set that up. You will need to modify for local conditions.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: 'Courier New'; &quot;&gt;mkdir /var/lib/oprofile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: 'Courier New'; &quot;&gt;mount -t ramfs none /var/lib/oprofile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;=
&lt;/div&gt;&lt;/blockquote&gt;=
&lt;/div&gt;&lt;/blockquote&gt;&lt;/body&gt;&lt;/html&gt;=
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400572&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-profiling-kernel-module-tp26289063p26400572.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26394010</id>
	<title>Re: Trouble profiling kernel module</title>
	<published>2009-11-17T09:23:05Z</published>
	<updated>2009-11-17T09:23:05Z</updated>
	<author>
		<name>Washington Ratso</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;By looking at EIP values, I can see that samples are being collected for my test module. &amp;nbsp;In the function get_file in daemon/opd_sfile.c which is called after issuing the opcontrol --shutdown command, I can see trans-&amp;gt;pc values that correspond to the EIP values of samples collected for my test module but no new sample file is created for these samples.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Since I can see the samples are there for my test module, why isn't a sample file created for the test module samples?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;On Nov 12, 2009, at 3:42 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394010&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jobhunts02@...&lt;/a&gt; wrote:&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;Could the fact that I am following the instructions below be an issue as far as sampling inserted kernel modules?&amp;nbsp; Of course, samples for other than the kernel modules seem to be stored just fine.&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656); &quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;ul type=&quot;disc&quot; style=&quot;margin-bottom: 0in; &quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: 'Times New Roman', serif; &quot;&gt;If running from an image in the internal jffs2 file system, you will need to mount another file system to store the samples. Below are examples of the commands to set that up. You will need to modify for local conditions.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: 'Courier New'; &quot;&gt;mkdir /var/lib/oprofile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: 'Courier New'; &quot;&gt;mount -t ramfs none /var/lib/oprofile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; &quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;=
&lt;/div&gt;&lt;/blockquote&gt;&lt;/body&gt;&lt;/html&gt;=
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394010&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trouble-profiling-kernel-module-tp26289063p26394010.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26369540</id>
	<title>Re: Profiling network software</title>
	<published>2009-11-16T02:13:54Z</published>
	<updated>2009-11-16T02:13:54Z</updated>
	<author>
		<name>Sam Liao</name>
	</author>
	<content type="html">&lt;h3 class=&quot;title&quot;&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-weight: normal;&quot; class=&quot;title&quot;&gt;From the doc:&lt;/h3&gt;&lt;a href=&quot;http://oprofile.sourceforge.net/doc/kernel-profiling.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oprofile.sourceforge.net/doc/kernel-profiling.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;h3 class=&quot;title&quot;&gt;2.2. Idle time&lt;/h3&gt;
            
          
        
        &lt;p&gt;
Your kernel is likely to support halting the processor when a CPU is idle. As
the typical hardware events like &lt;code class=&quot;constant&quot;&gt;CPU_CLK_UNHALTED&lt;/code&gt; do not
count when the CPU is halted, the kernel profile will not reflect the actual
amount of time spent idle. You can change this behaviour by booting with
the &lt;code class=&quot;option&quot;&gt;idle=poll&lt;/code&gt; option, which uses a different idle routine. This
will appear as &lt;code class=&quot;function&quot;&gt;poll_idle()&lt;/code&gt; in your kernel profile. &lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;-Sam&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/13 &amp;quot;Mgr. Šimon Tóth&amp;quot; &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369540&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simon@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;I&amp;#39;m trying to profile a batch system (Torque). It consists of a server&lt;br&gt;
daemon, scheduler daemon and many node daemons.&lt;br&gt;
&lt;br&gt;
Now the problem is, that when I get the result from oprofile using&lt;br&gt;
CLK_UNHALTED the number of samples does not correspond to the time the&lt;br&gt;
specific daemon was running (0.5 sec, vs. 10 minutes). Also the profile&lt;br&gt;
looks weird, the server has only light load (5-10% cpu use) but oprofile&lt;br&gt;
shows that a majority of the samples were recorded in cpu heavy functions.&lt;br&gt;
&lt;br&gt;
I did try valgrind, but the slowdown makes the results unusable&lt;br&gt;
(although the profile did look much better, actually showing that there&lt;br&gt;
was a lot of waiting for system calls).&lt;br&gt;
&lt;br&gt;
What should I do to get better results?&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
Mgr. Simon Toth&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
oprofile-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369540&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;oprofile-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369540&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oprofile-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/oprofile-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/oprofile-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/oprofile-list-f3785.html&quot; embed=&quot;fixTarget[3785]&quot; target=&quot;_top&quot; &gt;oprofile-list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Profiling-network-software-tp26338335p26369540.html" />
</entry>

</feed>
