Vara Prasad wrote:
Hi Will,
Thanks for taking care of this. This is an excellent start for
function tracing.
I am sure this feature will make many kernel developers happy.
Ananth, can you check to see if this approach works on PPC platform.
PowerPC (POWER4 and above) have hardware support only for data address
breakproints (they have one Data Address Breakpoint Register - DABR). If
we are talking of using debug hadware to track text addresses, then, no
PPC doesn't provide a facility for us to use.
IIUC, the PPC designers discontinued IABR (Instruction Address
Breakpoint Register) since they thought all breakpoints on a text
address can be handled in software.
Thanks,
Ananth