Re: [PATCH 5/6] perf_counter: powerpc: Add processor back-end for MPC7450 family
From: Kumar Gala <hidden>
Date: 2009-06-18 12:51:31
Also in:
lkml
From: Kumar Gala <hidden>
Date: 2009-06-18 12:51:31
Also in:
lkml
On Jun 17, 2009, at 6:24 PM, Paul Mackerras wrote:
Kumar Gala writes:quoted
This should be something like: obj64-$(CONFIG_PPC_PERF_CTRS)-$(PPC_BOOK3S_64)quoted
+obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.oobj32-$(CONFIG_PPC_PERF_CTRS)-$(PPC_BOOK3S_32) Or use new Kconfig types as I suggested on patch 1/6Feel free to send a patch making those changes along with adding the code to support the Freescale embedded PMU. :) Paul.
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 ? - k