I am an oprofile user and I need to profile one of my applications on a TI OMAP4 platform (pandaboard, to be specific). I have ubuntu 11.10 installed. My problem is that oprofile always use the timer interrupt mode but doesn't recognize the hardware counters, which I am sure my platform has.
After reading some previous emails from this list my feeling is that I need a linux kernel with oprofile support, and then I can use --vmlinux to get the counter enabled. Is that correct or am I missing the point?
If that is the case, given the fact that I don't have much experience building linux kernel, I wonder if there is a pre-built vmlinux file that I can download. If I have to build the kernel by myself, what is the easiest approach?
If I misunderstand the issue, would you please correct me?