[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1248268135.27058.1414.camel@twins>
Date: Wed, 22 Jul 2009 15:08:55 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Anton Blanchard <anton@...ba.org>
Cc: mingo@...e.hu, paulus@...ba.org, fweisbec@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf_counter: Improve perf stat and perf record option
parsing
On Wed, 2009-07-22 at 23:04 +1000, Anton Blanchard wrote:
> perf stat and perf record currently look for all options on the command
> line. This can lead to some confusion:
>
> # perf stat ls -l
> Error: unknown switch `l'
>
> While we can work around this by adding '--' before the command, the git
> option parsing code can stop at the first non option:
>
> # perf stat ls -l
> Performance counter stats for 'ls -l':
> ....
>
> Signed-off-by: Anton Blanchard <anton@...ba.org>
I queued it, thanks Anton.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists