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. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev