I am using oprofile (0.9.7) on a linux system for
the CPU_CLK_UNHALTED event
with the count of 100000.
This is a machine with 8 cores (no HT), each with 2.66GHZ.
Timer based profiling is not ON:
# cat /dev/oprofile/cpu_type
Now, when running a test that shows almost no idle, oprofile shows that
only ~5000 samples were collected over the period of 7 mins. I
expected to see
at least 20K samples per sec per cpu on this machine.
Lot of idle time would've explained this, but thats not the case with this test.
I am trying to debug this, but if any one has some ideas, that would help!