[PATCH 5/6] perf_counter: powerpc: Add processor back-end for MPC7450 family

Paul Mackerras paulus at samba.org
Fri Jun 19 07:10:41 EST 2009


Kumar Gala writes:

> In looking at doing this what suggestions do you have in implementing  
> perf_instruction_pointer() if we don't have the equivalent of SIAR.   
> Just use regs->nip ?

Yes, exactly.  If you don't have SIAR/SDAR/MMCRA, the default
definitions for perf_instruction_pointer and perf_misc_flags in
include/linux/perf_counter.h are fine, and you get them if
perf_misc_flags is not defined.

Paul.


More information about the Linuxppc-dev mailing list