From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933727Ab2EWP3N (ORCPT ); Wed, 23 May 2012 11:29:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30790 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751505Ab2EWP3L (ORCPT ); Wed, 23 May 2012 11:29:11 -0400 Date: Wed, 23 May 2012 17:28:55 +0200 From: Jiri Olsa To: Stephane Eranian Cc: zheng.z.yan@intel.com, a.p.zijlstra@chello.nl, mingo@elte.hu, andi@firstfloor.org, ming.m.lin@intel.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [RFC 0/5] perf, tool: uncore related changes Message-ID: <20120523152855.GC5742@m.brq.redhat.com> References: <1337144403-30841-1-git-send-email-zheng.z.yan@intel.com> <1337585813-3349-1-git-send-email-jolsa@redhat.com> <20120523151612.GA8019@m.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 23, 2012 at 05:21:11PM +0200, Stephane Eranian wrote: > On Wed, May 23, 2012 at 5:16 PM, Jiri Olsa wrote: > > On Wed, May 23, 2012 at 04:53:13PM +0200, Stephane Eranian wrote: > >> Jiri, > >> > >> Is there a way with the current parser to have a syntax as follows: > >> > >>  perf stat -e cpu/event=cycles,edge/ ... > >> > >> In other words, avoid juggling between -e cycles and the -e > >> cpu/event=.../ syntax? > > > Also with this new syntax, how am I supposed to request precise sampling? > > perf stat -e cpu/event=cycles,edge,precise=1/ if 'precise' is one of your pmu format terms you can use it like that but 'precise' stayed in the event modifier, so: perf stat -e cpu/event=cycles,edge/pp.. > > > I think it's possible.. so far we have the cpu/event=../ term in use for number > > assignment. We could do string translation to appropriate values.. I'll check > > > > added to my todo list ;) > > > > jirka