Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757109Ab2JWNpK (ORCPT ); Tue, 23 Oct 2012 09:45:10 -0400 Received: from one.firstfloor.org ([213.235.205.2]:59873 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753369Ab2JWNpG (ORCPT ); Tue, 23 Oct 2012 09:45:06 -0400 Date: Tue, 23 Oct 2012 15:45:05 +0200 From: Andi Kleen To: Stephane Eranian Cc: Peter Zijlstra , Andi Kleen , x86 , LKML , Arnaldo Carvalho de Melo , Andi Kleen Subject: Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format Message-ID: <20121023134505.GD16230@one.firstfloor.org> References: <1350602382-12771-1-git-send-email-andi@firstfloor.org> <1350602382-12771-6-git-send-email-andi@firstfloor.org> <1350995474.13456.12.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 704 Lines: 15 > I believe we can use a similar approach to PERF_SAMPLE_REGS to expose > the PEBS machine state. We need to add PERF_SAMPLE_IREGS and then > return interrupt machine registers with regular sampling and the PEBS machine > registers in precise mode. A while back I wrote a patch to do just this. Once my > PEBS-LL patch is out, I will get back to it. But why not just use raw? That's far simpler and works fine and is already supported by perf script. -andi -- 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/