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

From: Peter Zijlstra
Date: Wed Mar 21 2012 - 05:15:32 EST


On Tue, 2012-03-20 at 21:46 +0100, Ingo Molnar wrote:
> * Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
>
> > Now the disadvantage is that {} needs quotes on bash, [...]
>
> Not on my version of Bash:
>
> earth5:~> perf stat {}
> {}: No such file or directory
> Terminated
> earth5:~> perf stat true {}
>
> Performance counter stats for 'true {}':
>
> it's passed in literally, AFAICS.

# echo {}
{}
# echo {en,dis}able
enable disable


It somehow special cases {}, which is horrible.
--
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/