Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753660Ab3G3QJR (ORCPT ); Tue, 30 Jul 2013 12:09:17 -0400 Received: from mail-oa0-f47.google.com ([209.85.219.47]:55355 "EHLO mail-oa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751040Ab3G3QJQ (ORCPT ); Tue, 30 Jul 2013 12:09:16 -0400 MIME-Version: 1.0 In-Reply-To: <20130730155212.GB32226@laptop.programming.kicks-ass.net> References: <20130628095828.GG29209@dyad.programming.kicks-ass.net> <20130708081919.GV23916@twins.programming.kicks-ass.net> <20130730083758.GH3008@twins.programming.kicks-ass.net> <20130730090202.GL3008@twins.programming.kicks-ass.net> <20130730155212.GB32226@laptop.programming.kicks-ass.net> Date: Tue, 30 Jul 2013 18:09:15 +0200 Message-ID: Subject: Re: [PATCH 0/8] perf: add ability to sample physical data addresses From: Stephane Eranian To: Peter Zijlstra Cc: Ingo Molnar , LKML , "mingo@elte.hu" , "ak@linux.intel.com" , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1508 Lines: 37 On Tue, Jul 30, 2013 at 5:52 PM, Peter Zijlstra wrote: > On Tue, Jul 30, 2013 at 04:21:41PM +0200, Stephane Eranian wrote: >> Peter, >> >> One thing that bothers me with the MMAP2 approach is that >> it forces integration into perf. > > This is a good (TM) thing, yes? ;-) > Well, that's one way to look at it. But I'd like the API to be able to support more than one tool easily. If the barrier for any advanced analysis is too high from the raw kernel API then we will only have one tool. I don't think that sane. >> Now, you will need to analyze >> the MMAP2 records. With my sample_type approach, you >> simply needed a cmdline option on perf record, and then >> you could dump the sample using perf report -D and feed >> them into a post-processing script. But now, the analysis >> needs to be integrated into perf or the tool needs to parse >> the full perf.data file. > > So the disadvantage of the sample_type approach is that it generates > more data and bloats the fast path. > > If its useful it shouldn't live in a script anyway ;-) Also if the > script muck can't deal with the side-band information its a worse broken > piece of crap than I thought it was. I never use the scripting support. Don't know its current shape. -- 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/