[Top] [All Lists]

[RESEND PATCH v4 0/5] MIPS/Perf-events: Sync with mainline upper layer (

Subject: [RESEND PATCH v4 0/5] MIPS/Perf-events: Sync with mainline upper layer (v4)
From: Deng-Cheng Zhu <>
Date: Mon, 24 Jan 2011 15:35:44 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=/tRAMJoBNJzJM/j1Cop9gbkb6cyy0DcZyYnqv3drAqA=; b=Q71mr+q3kPbpQ0PA0aUN6aOYxikFOtn9gkBwYnsRtNjrQZqhs4dWXbxLeHGOhBbywK rFIA2j7rczXwj6aC3RaiCTaFqR/vU191cc1tG3Gge9HJ4Jpa7wTr+eazZNTJmdZbZsEt DIl1IbZm7ltWIPPKOMsHjYSix6wQ4C/T/lCV8=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=iKzPAvdb2AvBQUZ5rpG9bVRMeGJVnPCAWpZkYnhJvZD9OpI4S23a5VSm8JHOtMHOK7 3FKDgQMNbK94dT35TRNopemfgbsTGaj4CMnkg51KtgIXd8NJ7wkK137gp0bNtQJVtLOz taTYUEhl1VTCxX4Ps0qensf0PRYyy8LOaaUt0=
Original-recipient: rfc822;
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.

v4 - v3:
o Rebase this patch set to have early_initcall instead of arch_initcall for
o Change the arguments of perf_pmu_register() in Patch #2.
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(-)

<Prev in Thread] Current Thread [Next in Thread>