[CentOS] is oprofile working on CENTOS 6.0 ?

William Reich reich at ulticom.com
Tue Sep 20 18:25:35 UTC 2011


I did a 

 

opcontrol  --deinit

and

echo 0 > /proc/sys/kernel/nmi_watchdog

 

and then ran the script and everything seems to work now.

 

 

wr

 

From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
Behalf Of William Reich
Sent: Tuesday, September 20, 2011 1:23 PM
To: centos at centos.org
Subject: [CentOS] is oprofile working on CENTOS 6.0 ?

 

Hi

 

I am trying to use oprofile with centos 6.0.

 

I know that the debug-info for the kernel is not available, so I believe
I 

used the correct switches to account for this.

 

here is my script...

 

# reset everything

opcontrol   --shutdown

rm /root/.oprofile/da*

opcontrol   --separate=kernel  --no-vmlinux

opcontrol   --event=CPU_CLK_UNHALTED:100000

opcontrol   --start

sleep 5

opcontrol --reset

echo "sleeping now"

sleep 20

opcontrol -stop

# all done - use the data with opreport...

echo " "

echo " "

 

 

When I run this on a CENTOS 6 machine, the machine hangs.

There is no visible panic on the console nor the serial port.

This is 100% repeatable. I tried multiple machines.

I am using a DELL 2850.

 

Any help would be appreciated.

 

wr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110920/f3659115/attachment.html>


More information about the CentOS mailing list