From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e7.ny.us.ibm.com (e7.ny.us.ibm.com [32.97.182.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e7.ny.us.ibm.com", Issuer "GeoTrust SSL CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 47FEA2C00C8 for ; Sun, 12 May 2013 08:31:43 +1000 (EST) Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 11 May 2013 18:31:40 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 2D8246E803F for ; Sat, 11 May 2013 18:31:34 -0400 (EDT) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r4BMVanA331232 for ; Sat, 11 May 2013 18:31:37 -0400 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r4BMVaTb032169 for ; Sat, 11 May 2013 16:31:36 -0600 Date: Sat, 11 May 2013 15:31:11 -0700 From: Sukadev Bhattiprolu To: Michael Ellerman Subject: Re: [PATCH] perf: Power7: Make CPI stack events available in sysfs Message-ID: <20130511223111.GA30064@us.ibm.com> References: <20130406164803.GA408@us.ibm.com> <20130415061508.GD21147@concordia> <20130422155505.GA26169@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20130422155505.GA26169@us.ibm.com> Cc: linuxppc-dev@ozlabs.org, Paul Mackerras , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sukadev Bhattiprolu [sukadev@linux.vnet.ibm.com] wrote: | Michael Ellerman [michael@ellerman.id.au] wrote: | | On Sat, Apr 06, 2013 at 09:48:03AM -0700, Sukadev Bhattiprolu wrote: | | > From bdeacf7175241f6c79b5b2be0fa6b20b0d0b7d1c Mon Sep 17 00:00:00 2001 | | > From: Sukadev Bhattiprolu | | > Date: Sat, 6 Apr 2013 08:48:26 -0700 | | > Subject: [PATCH] perf: Power7: Make CPI stack events available in sysfs | | > | | > A set of Power7 events are often used for Cycles Per Instruction (CPI) stack | | > analysis. Make these events available in sysfs (/sys/devices/cpu/events/) so | | > they can be identified using their symbolic names: | | > | | > perf stat -e 'cpu/PM_CMPLU_STALL_DCACHE_MISS/' /bin/ls | | | | Should we take these two via the powerpc tree? Or do you want to take | | them Arnaldo? | | I think it can go through powerpc tree since it is all arch-specific. | Ben, Paul, Any comments on this patch ? https://lkml.org/lkml/2013/4/6/169 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754631Ab3EKWbl (ORCPT ); Sat, 11 May 2013 18:31:41 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:38439 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754257Ab3EKWbk (ORCPT ); Sat, 11 May 2013 18:31:40 -0400 Date: Sat, 11 May 2013 15:31:11 -0700 From: Sukadev Bhattiprolu To: Michael Ellerman Cc: Paul Mackerras , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , linuxppc-dev@ozlabs.org Subject: Re: [PATCH] perf: Power7: Make CPI stack events available in sysfs Message-ID: <20130511223111.GA30064@us.ibm.com> References: <20130406164803.GA408@us.ibm.com> <20130415061508.GD21147@concordia> <20130422155505.GA26169@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130422155505.GA26169@us.ibm.com> X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13051122-3620-0000-0000-0000026FEB46 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sukadev Bhattiprolu [sukadev@linux.vnet.ibm.com] wrote: | Michael Ellerman [michael@ellerman.id.au] wrote: | | On Sat, Apr 06, 2013 at 09:48:03AM -0700, Sukadev Bhattiprolu wrote: | | > From bdeacf7175241f6c79b5b2be0fa6b20b0d0b7d1c Mon Sep 17 00:00:00 2001 | | > From: Sukadev Bhattiprolu | | > Date: Sat, 6 Apr 2013 08:48:26 -0700 | | > Subject: [PATCH] perf: Power7: Make CPI stack events available in sysfs | | > | | > A set of Power7 events are often used for Cycles Per Instruction (CPI) stack | | > analysis. Make these events available in sysfs (/sys/devices/cpu/events/) so | | > they can be identified using their symbolic names: | | > | | > perf stat -e 'cpu/PM_CMPLU_STALL_DCACHE_MISS/' /bin/ls | | | | Should we take these two via the powerpc tree? Or do you want to take | | them Arnaldo? | | I think it can go through powerpc tree since it is all arch-specific. | Ben, Paul, Any comments on this patch ? https://lkml.org/lkml/2013/4/6/169