From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Subject: Re: [PATCH 6/7] sh: oprofile: Use perf-events oprofile backend Date: Tue, 5 Oct 2010 17:08:34 +0900 Message-ID: <20101005080833.GA7984@linux-sh.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Matt Fleming Cc: linux-arch@vger.kernel.org, Grant Likely , Russell King , linux-sh@vger.kernel.org, Robert Richter , Frederic Weisbecker , Will Deacon , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Peter Zijlstra , Deng-Cheng Zhu , Ingo Molnar , linux-arm-kernel@lists.infradead.org List-Id: linux-arch.vger.kernel.org On Mon, Oct 04, 2010 at 09:44:24PM +0100, Matt Fleming wrote: > Now that we've got a generic perf-events based oprofile backend we might > as well make use of it seeing as SH doesn't do anything special with its > oprofile backend. Also introduce a new CONFIG_HW_PERF_EVENTS symbol so > that we can fallback to using the timer interrupt for oprofile if the > CPU doesn't support perf events. > > Signed-off-by: Matt Fleming Acked-by: Paul Mundt From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:39469 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752392Ab0JEIIg (ORCPT ); Tue, 5 Oct 2010 04:08:36 -0400 Date: Tue, 5 Oct 2010 17:08:34 +0900 From: Paul Mundt Subject: Re: [PATCH 6/7] sh: oprofile: Use perf-events oprofile backend Message-ID: <20101005080833.GA7984@linux-sh.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Matt Fleming Cc: Robert Richter , Will Deacon , Russell King , linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Frederic Weisbecker , Arnaldo Carvalho de Melo , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Deng-Cheng Zhu , Grant Likely Message-ID: <20101005080834.9HKLCeRpAw8lbPm1zC9y_h2VtSnPs_NnLwveyEc-vY4@z> On Mon, Oct 04, 2010 at 09:44:24PM +0100, Matt Fleming wrote: > Now that we've got a generic perf-events based oprofile backend we might > as well make use of it seeing as SH doesn't do anything special with its > oprofile backend. Also introduce a new CONFIG_HW_PERF_EVENTS symbol so > that we can fallback to using the timer interrupt for oprofile if the > CPU doesn't support perf events. > > Signed-off-by: Matt Fleming Acked-by: Paul Mundt