Subject: | |
From: | |
Reply To: | |
Date: | Tue, 23 Oct 2007 13:47:03 -0500 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
On Tue, 23 Oct 2007, Wenji Wu wrote:
> Hi, All,
>
> I have gotten some problems to run oprofile. Could anybody help me out? thanks in advance.
>
> My system is Intel DuoCore (64bit). CPU family: 6, Model 15, Model name: Xeon (5150 @2.66 GHz). System is running SL5.0.
Just because your hardware is capable of doing 64 bit does not mean you
installed a 64 bit kernel.
What is the output of
uname -a
-Connie Sieh
>
> When I check the Profile's CPU type, "cat /dev/oprofile/cput_type" shows "i386/core_2". Is this correct? But my system is 64bit.
>
> Also, I set Oprofile to profile different events such as L1I_MISSES" , but "Opreport" keeps on giving me the result of the event "CPU_CLK_UNHALTED". Anything wrong?
>
> Some results are as follows:
>
> [root@wan-koi oprofile]# opcontrol --reset
> [root@wan-koi oprofile]# opcontrol --start
>
> ....runing my application......
>
> [root@wan-koi oprofile]# opcontrol --dump
>
> [root@wan-koi oprofile]# opcontrol --status
> Daemon running: pid 7981
> Event 0: L1I_MISSES:1333353:0:1:1
> Event 1: ITLB:10000:18:1:1
> Separate options: none
> vmlinux file: /usr/src/kernels/2.6.18-8.1.14.el5-x86_64/vmlinux
> Image filter: none
> Call-graph depth: 0
> Buffer size: 65536
>
> [root@wan-koi oprofile]# opreport -l |more
> CPU: Core 2, speed 2666.71 MHz (estimated)
> Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000
> samples % app name symbol name
> 363336 20.2061 vmlinux copy_user_generic
> 241323 13.4206 cxgb3 (no symbols)
> 238021 13.2370 vmlinux mwait_idle
> 73446 4.0845 vmlinux schedule
>
>
>
> thanks,
>
> wenji
>
|
|
|