Bow-Nan Cheng
2013-04-05 17:22:14 UTC
Hello,
I'm having a bit of difficulty getting oprofile to correctly profile my
custom kernel module (or even profile the current kernel in general). I'm
running CentOS 6.3 with a custom 3.2 kernel. Here's the process i used to
install oprofile-0.9.8:
./configure --with-kernel=/home/username/linux-3.2.32
make
sudo make install
Then i run operf to profile the entire system:
sudo /usr/local/bin/operf -s
However, when i check the oprofile_data/current folder, it's empty and the
"opreport" command throws a "no samples found" error
Any suggestions? I'm sure its just something small..
I'm having a bit of difficulty getting oprofile to correctly profile my
custom kernel module (or even profile the current kernel in general). I'm
running CentOS 6.3 with a custom 3.2 kernel. Here's the process i used to
install oprofile-0.9.8:
./configure --with-kernel=/home/username/linux-3.2.32
make
sudo make install
Then i run operf to profile the entire system:
sudo /usr/local/bin/operf -s
However, when i check the oprofile_data/current folder, it's empty and the
"opreport" command throws a "no samples found" error
Any suggestions? I'm sure its just something small..