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:
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..