Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764052AbXKOAYR (ORCPT ); Wed, 14 Nov 2007 19:24:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753804AbXKOAYG (ORCPT ); Wed, 14 Nov 2007 19:24:06 -0500 Received: from ozlabs.org ([203.10.76.45]:36180 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753363AbXKOAYF (ORCPT ); Wed, 14 Nov 2007 19:24:05 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18235.37249.823703.12168@cargo.ozlabs.ibm.com> Date: Thu, 15 Nov 2007 11:23:29 +1100 From: Paul Mackerras To: Andi Kleen Cc: Stephane Eranian , Christoph Hellwig , Andrew Morton , Greg KH , Philip Mucci , William Cohen , Robert Richter , linux-kernel@vger.kernel.org, Perfmon , perfmon2-devel@lists.sourceforge.net, OSPAT devel , papi list Subject: Re: [perfmon] Re: [perfmon2] perfmon2 merge news In-Reply-To: <20071114142629.GE17145@one.firstfloor.org> References: <20071113175545.GD4319@frankl.hpl.hp.com> <53F4663B-CFBA-44E4-8283-BAAC8C8F1AFF@cs.utk.edu> <20071113185924.GA22748@suse.de> <20071113120728.4342e7d7.akpm@linux-foundation.org> <18234.41652.199520.31261@cargo.ozlabs.ibm.com> <20071114103805.GA16652@infradead.org> <18234.53558.883970.87414@cargo.ozlabs.ibm.com> <20071114110009.GA17833@infradead.org> <20071114141342.GH6557@frankl.hpl.hp.com> <20071114142629.GE17145@one.firstfloor.org> X-Mailer: VM 7.19 under Emacs 21.4.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 497 Lines: 15 Andi Kleen writes: > > This only works when counting (not sampling) and only for self-monitoring. > > It works for global monitoring too. How would you provide access to the counters of another process? Through an extension to ptrace perhaps? Paul. - 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/