On Mon, 2007-10-22 at 22:40 -0700, Stephane Eranian wrote:
> Hi,
> 
> On Tue, Oct 23, 2007 at 08:59:17AM +0800, Zhang, Yanmin wrote:
> > Before trying perfmon, I enabled oprofile in kernel and oprofile also 
> > didn't work.
> > 
> > I instrumented kernel and found oprofile did configure IA32_PERFEVTSEL0 and 
> > NMI, but
> > cpu didn't produce NMI interrupt.
> 
> I have not tried Oprofile lately.
I almost located the root cause of oprofile failure. The default event
of oprofile sometimes is incorrect in kernel.The event should be 0x3c instead of
0x2e. It looks like oprofiled parses event incorrectly or someone configured 
user
root's /root/.oprofile/daemonrc with incorrect event. Anyway, it could work now.

yanmin
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to