linux-mips
[Top] [All Lists]

Re: [PATCH v3 0/5] MIPS/Perf-events: Sync with mainline upper layer (v3)

To: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>, ralf@linux-mips.org
Subject: Re: [PATCH v3 0/5] MIPS/Perf-events: Sync with mainline upper layer (v3)
From: David Daney <ddaney@caviumnetworks.com>
Date: Thu, 30 Dec 2010 14:57:38 -0800
Cc: a.p.zijlstra@chello.nl, fweisbec@gmail.com, will.deacon@arm.com, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, wuzhangjin@gmail.com, paulus@samba.org, mingo@elte.hu, acme@redhat.com, matt@console-pimps.org, sshtylyov@mvista.com
In-reply-to: <1291022351-13152-1-git-send-email-dengcheng.zhu@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1291022351-13152-1-git-send-email-dengcheng.zhu@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10
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@caviumnetworks.com>

I am basing my modifications for Octeon perf counters on this set.

David Daney

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH v3 0/5] MIPS/Perf-events: Sync with mainline upper layer (v3), David Daney <=