Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751550Ab0KYIKQ (ORCPT ); Thu, 25 Nov 2010 03:10:16 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:64196 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997Ab0KYIKP (ORCPT ); Thu, 25 Nov 2010 03:10:15 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=mSWgKGXJGesFmAN26sSZ/V4VAYGHkZ1/T0lvbfxh6LBxJFHrpSb79ccZC996ARRtIl DXAi4Iwjiu9UH/AGNT0/u5ydH6rFQyTXrXAp4EjhDLDxle+r1guu6qQzFglfOGIDnBoH MMppcL6qEe6EO6TZjYR6JOouYgsThTRNyIbeY= Date: Thu, 25 Nov 2010 09:10:11 +0100 From: Frederic Weisbecker To: Peter Zijlstra Cc: Corey Ashford , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Stephane Eranian , Julia Lawall , Tom Zanussi , linux-kernel@vger.kernel.org, Matt Fleming Subject: Re: [RFC PATCHv3] perf tools: add event grouping capability to "perf stat" Message-ID: <20101125081008.GE2538@nowhere> References: <1290650053-3486-1-git-send-email-cjashfor@linux.vnet.ibm.com> <1290666760.2072.539.camel@laptop> <20101125074629.GC2538@nowhere> <1290672009.2072.558.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1290672009.2072.558.camel@laptop> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 850 Lines: 23 On Thu, Nov 25, 2010 at 09:00:09AM +0100, Peter Zijlstra wrote: > On Thu, 2010-11-25 at 08:46 +0100, Frederic Weisbecker wrote: > > > perf record -e task-clock:freq=1000,cycles:period=0 > > > > Wouldn't this syntax clash with the flags we have on events already? > > > > the u,k,p flags? > > From stephane's email (to which you were CC'ed) http://lkml.org/lkml/2010/11/23/303 Right, I'm going look at this. > > $ perf record -e cycles:u:period=100000,instructions:k:freq=1500 -a -- sleep 5 > > The parser isn't particularly pretty, maybe its time to think about a parser generator? May be yeah. -- 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/