On 11/29/2010 01:19 AM, Deng-Cheng Zhu wrote:
Current MIPS Perf-events uses older interfaces to the generic layer. So it will not work. This patch set fixes this issue (reported by Wu Zhangjin) by adding MIPS counterparts for a list of previous commits that went to mainline earlier. Changes: v3 - v2: o Keep all mentioned commits in the form of number + title + original summary + (MIPS specific info when needed). v2 - v1: o Corrected the return value of the event check in validate_event(). Deng-Cheng Zhu (5): MIPS/Perf-events: Work with irq_work MIPS/Perf-events: Work with the new PMU interface MIPS/Perf-events: Fix event check in validate_event() MIPS/Perf-events: Work with the new callchain interface MIPS/Perf-events: Use unsigned delta for right shift in event update arch/mips/Kconfig | 1 + arch/mips/include/asm/perf_event.h | 12 +- arch/mips/kernel/perf_event.c | 345 ++++++++++++++++------------------ arch/mips/kernel/perf_event_mipsxx.c | 4 +- 4 files changed, 171 insertions(+), 191 deletions(-)
Entire set: Acked-by: David Daney <ddaney@xxxxxxxxxxxxxxxxxx> I am basing my modifications for Octeon perf counters on this set. David Daney