Re: [PATCH 3/3] perf, tool: Add new event group management

From: Arnaldo Carvalho de Melo
Date: Wed Mar 21 2012 - 11:14:02 EST


Em Wed, Mar 21, 2012 at 01:15:10PM +0100, Ingo Molnar escreveu:
> * Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
> > I would much prefer a syntax that's more natural but requires
> > quoting than one that's quirky and tailor made to avoid
> > whatever current bash does. For one, there's other shells out
> > there that might have different quoting needs and bash is of
> > course free to extend its syntax.
>
> Well, they are unlikely to extend to '+', it would break a
> boatload of scripts I suspect.
>
> So the question would be, is a+b+c as event grouping a natural
> syntax? If not then lets use a quoted one that is.

-e groupname=event1,event2,event3

Seems intuitive, no?

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/