I have an ec2-instance running kernel linux-22.214.171.124-2.fc8xen. I am
trying to run Oprofile on this.
I tried running Oprofile with both these options: opcontrol --no-
But after doing opcontrol --start , I get this error:
/usr/bin/opcontrol: line 1118: echo: write error: Invalid argument
Using default event: CPU_CLK_UNHALTED:100000:0:1:1
Using 2.6+ OProfile kernel interface.
Reading module info.
Failed to open profile device: Operation not permitted
Couldn't start oprofiled.
Check the log file "/var/lib/oprofile/samples/oprofiled.log" and
The logs basically don't exist.
I have built the Oprofile with kernel-support option and I do
opcontrol --reset before trying any of the above options.
Any pointers to solve this problem will be helpful.
Thanks in advance.