From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932299Ab2GFBdU (ORCPT ); Thu, 5 Jul 2012 21:33:20 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:46289 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754842Ab2GFBdT (ORCPT ); Thu, 5 Jul 2012 21:33:19 -0400 MIME-Version: 1.0 In-Reply-To: References: <1340960907-3725-1-git-send-email-jolsa@redhat.com> <87fw9blyhj.fsf@sejong.aot.lge.com> <20120702101518.GC967@krava.redhat.com> <1341234662.1476.13.camel@leonhard> <20120702133341.GD967@krava.redhat.com> From: Ulrich Drepper Date: Thu, 5 Jul 2012 21:32:58 -0400 Message-ID: Subject: Re: [PATCHv3 0/3] perf tool: Add new event group management To: Stephane Eranian Cc: Jiri Olsa , Namhyung Kim , acme@redhat.com, a.p.zijlstra@chello.nl, mingo@elte.hu, paulus@samba.org, cjashfor@linux.vnet.ibm.com, fweisbec@gmail.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, andi@firstfloor.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 5, 2012 at 12:15 PM, Stephane Eranian wrote: > I don't understand why you actually need the :2 suffix. There can > only be one leader. So assume it is the first one. Users have to > know the first one is the leader which seems like a natural thing > to do for me. It would make you syntax less ugly than it already > is. In a blue sky world I would have done this. In fact, this is what I tried before reading the sources to find out there is no group support so far. But given that multiple -e options already have a meaning I would be hesitant to change this.