[Top] [All Lists]

Re: [PATCH v5 08/12] MIPS: move mipsxx pmu helper functions to Perf-even

To: Deng-Cheng Zhu <>
Subject: Re: [PATCH v5 08/12] MIPS: move mipsxx pmu helper functions to Perf-events
From: David Daney <>
Date: Thu, 27 May 2010 15:52:37 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=5g/oSmFf4C4T6l7GUJ6h14UUGInb0K1hB7zp5kCMN6w=; b=mK8uetPgaQwUgYh76gdoJeM1jpI9yGrs5uzMaJuZ9HCqRNWRlL3xl0bJJGButQEzcf bXQ74rrLHTKzbMBTKI2VkADkKlQ7nHOtF6Dbny+qwHdAbs7ogC2ZT/puybYRThpZVIdP A/bCyZ/JRERtIjo5j0n9dmnDRzLnfK0DiUqdw=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=yHZFWFz5NXHccLEs8Q8DkavtkNFN9tdCl6rpHujT7A+YvtjQ+fJd9oNl9ezNFrSyZQ MWllh3hoMziKQtRmy627b8+1/3xjgzcqRvBTsxlmX5NIrndsJee+KcJR3hHQe2buLDrk 1/+uV4d3TkJRjk/b3igZR1eAwQs2Xok3FvOTU=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4
On 05/27/2010 06:03 AM, Deng-Cheng Zhu wrote:
This is the 1st patch starting to use Perf-events as the backend of
Oprofile. Here we move pmu helper functions and macros between pmu.h and
perf_event*.c for mipsxx.

Signed-off-by: Deng-Cheng Zhu<>
  arch/mips/include/asm/pmu.h          |  160 ++--------------------------------
  arch/mips/kernel/perf_event.c        |    2 +
  arch/mips/kernel/perf_event_mipsxx.c |  145 +++++++++++++++++++++++++++++--
  3 files changed, 147 insertions(+), 160 deletions(-)

Is is possible to fold this patch also? I don't think we need to follow the exact evolution of the new files.

David Daney

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