I think i am very unlucky. There is another problem. I can't oprofile the kernel!!
I had recompiled the kernel version 2.6.26 with kernel profiling support.Oprofile is able to generate symbol information for User app's/libraries & Dynamic kernel modules.But its not able to show symbol information for Vmlinux.
# ./opcontrol --vmlinux=/mnt/lb0221_oprofile/vmlinux
Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log
But use opreport the result is always have not the information about the vmlinux...
Is there something wrong with the vmlinux generation or what could be the possible reason.
From: Robert Richter <robert.richter@am...> - 2008-10-31 13:02:31
On 30.10.08 13:37:55, Bob wrote:
> And My cpu is Atom, kernel version is 2.6.26, oprofile is 0.9.4
Atom should be supported with the arch perfmon implementation. You
have to use v2.6.28-rcX and the userland from cvs.
Advanced Micro Devices, Inc.
Operating System Research Center
But I think atom should be supported by timer interrupt default.
And the result is that, we can't change the event mode(only timer interrupt mode), but the vmlinux symbole still should displayed.
I really don't know there is why.
Anyway, thanks a lot for your imformation.
>Atom should be supported with the arch perfmon implementation. You
>have to use v2.6.28-rcX and the userland from cvs.
>Advanced Micro Devices, Inc.
>Operating System Research Center