I indeed have used the oprofile 0.9.7 and even 0.9.8. Since the oprofile version is update to 0.9.6 via the apt-get install, I compiled the oprofile 0.9.7 and 0.9.8 from the source files. But the results were the same, reported no samples.
The opcontrol commands ware executed manually from a ssh shell.
Timer mode should work fine. If you want to use the PMU, you need to check
that perf is enabled in your kernel (CONFIG_HW_PERF_EVENTS=y) and that your
interrupts are being registered correctly; either via device tree or as a
I have not tested in the timer mode and I will try it right now. I check the CONFIG_HW_PERF_EVENTS in the .config, it is set 'y', but I am not sure the interrupts are registered correctly or not, maybe it casues the problem.
3. I download the oprofile 0.9.7 source file and compiled on the board, then profile with it, the results ware the same with the oprofile 0.9.6.
> # to configure with kernel 3.3 header, run: ln -sf generated/autoconf.h linux/autoconf.sh
> make install
4. so does the oprofile 0.9.8 version compiled from source.