Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752097Ab1BNS5c (ORCPT ); Mon, 14 Feb 2011 13:57:32 -0500 Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:21868 "EHLO TX2EHSOBE006.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751398Ab1BNS5a (ORCPT ); Mon, 14 Feb 2011 13:57:30 -0500 X-SpamScore: -14 X-BigFish: VPS-14(zzbb2cK1432N98dNzz1202hzz8275bhz32i637h668h63h) X-Spam-TCS-SCL: 2:0 X-Forefront-Antispam-Report: KIP:(null);UIP:(null);IPVD:NLI;H:ausb3twp02.amd.com;RD:none;EFVD:NLI X-WSS-ID: 0LGMFBL-02-3LR-02 X-M-MSG: Date: Mon, 14 Feb 2011 19:57:23 +0100 From: Robert Richter To: Heinz Graalfs CC: "mingo@elte.hu" , "oprofile-list@lists.sf.net" , "linux-kernel@vger.kernel.org" , "linux-s390@vger.kernel.org" , "borntraeger@de.ibm.com" , "schwidefsky@de.ibm.com" , "heiko.carstens@de.ibm.com" , Mahesh Salgaonkar , Maran Pakkirisamy Subject: Re: [patch v2 1/3] This patch adds support for hardware based sampling on System z processors (models z10 and up) Message-ID: <20110214185723.GR5874@erda.amd.com> References: <20110121100651.821690659@linux.vnet.ibm.com> <20110121100841.879534437@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20110121100841.879534437@linux.vnet.ibm.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginatorOrg: amd.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1779 Lines: 44 On 21.01.11 05:06:52, Heinz Graalfs wrote: > From: Heinz Graalfs > > System z's hardware sampling is described in detail in: > > SA23-2260-01 "The Load-Program-Parameter and CPU-Measurement Facilities" > > The patch introduces > - support for System z's hardware sampler in OProfile's kernel module > - it adds functions that control all hardware sampling related operations as > - checking if hardware sampling feature is available > - ie: on System z models z10 and up, in LPAR mode only, and authorised during LPAR activation > - allocating memory for the hardware sampling feature > - starting/stopping hardware sampling > > All functions required to start and stop hardware sampling have to be > invoked by the oprofile kernel module as provided by the other patches of this patch set. > > In case hardware based sampling cannot be setup standard timer based sampling is used by OProfile. > > Signed-off-by: Mahesh Salgaonkar > Signed-off-by: Maran Pakkirisamy > Signed-off-by: Heinz Graalfs > --- > arch/Kconfig | 3 > arch/s390/Kconfig | 1 > arch/s390/oprofile/hwsampler.c | 1256 +++++++++++++++++++++++++++++++++++++++++ > arch/s390/oprofile/hwsampler.h | 113 +++ > 4 files changed, 1373 insertions(+) Applied with following changes: * enable compilation in Makefile -Robert -- Advanced Micro Devices, Inc. Operating System Research Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/