Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752485Ab2JZJPJ (ORCPT ); Fri, 26 Oct 2012 05:15:09 -0400 Received: from casper.infradead.org ([85.118.1.10]:39661 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750785Ab2JZJPH convert rfc822-to-8bit (ORCPT ); Fri, 26 Oct 2012 05:15:07 -0400 Message-ID: <1351242885.16863.0.camel@twins> Subject: Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support From: Peter Zijlstra To: Namhyung Kim Cc: Jiri Olsa , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Ingo Molnar , Paul Mackerras , Corey Ashford , Frederic Weisbecker Date: Fri, 26 Oct 2012 11:14:45 +0200 In-Reply-To: <87txti81i2.fsf@sejong.aot.lge.com> References: <1350743599-4805-1-git-send-email-jolsa@redhat.com> <87txti81i2.fsf@sejong.aot.lge.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 943 Lines: 22 On Fri, 2012-10-26 at 10:29 +0900, Namhyung Kim wrote: > Hi Jiri, > > On Sat, 20 Oct 2012 16:33:08 +0200, Jiri Olsa wrote: > > hi, > > adding support to read sample values through the PERF_SAMPLE_READ > > sample type. It's now possible to specify 'S' modifier for an event > > and get its sample value by PERF_SAMPLE_READ. > > I have a question. What's an actual impact of specifying 'S' modifiere > to a non-group event or even only a (non-leader) member of a group? For > instance, 'cycles:S' or '{branches,branch-misses:S}'. I would hope a syntax error from the parser ;-) I haven't actually looked at the implementation, but I understood it to be a group modifier, not an event modifier. -- 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/