From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755296Ab0JKPcA (ORCPT ); Mon, 11 Oct 2010 11:32:00 -0400 Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:38928 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755233Ab0JKPbu (ORCPT ); Mon, 11 Oct 2010 11:31:50 -0400 Date: Tue, 12 Oct 2010 00:31:39 +0900 From: Paul Mundt 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 Subject: Re: [PATCH 2/7] perf: New helper function for pmu name Message-ID: <20101011153139.GA12338@linux-sh.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 09, 2010 at 01:46:17AM +0100, Matt Fleming wrote: > Introduce perf_pmu_name() helper function that returns the name of the > pmu. This gives us a generic way to get the name of a pmu regardless of > how an architecture identifies it internally. > > Signed-off-by: Matt Fleming > --- > arch/sh/kernel/perf_event.c | 9 +++++++++ > include/linux/perf_event.h | 1 + > kernel/perf_event.c | 5 +++++ > 3 files changed, 15 insertions(+), 0 deletions(-) > This part is obviously fine with me, too. Acked-by: Paul Mundt