I'm on an ARMv7 system with a Lauterbach Power Trace connected via JTAG and I want to count function calls (B, BL) in the Linux Kernel up to a certain point, so that I have an output of:
c0107200 handle_IRQ 80
c0107278 arch_cpu_idle 76
...
Is this possible with a script and if so, how?