Re: [PATCHv4 00/27] perf stat: Introduce --per-thread option

From: Jiri Olsa
Date: Tue Jun 23 2015 - 03:22:14 EST


On Mon, Jun 22, 2015 at 08:06:00PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Tue, Jun 23, 2015 at 12:36:01AM +0200, Jiri Olsa escreveu:
> > hi,
> > adding the possibility to display stat data per thread.
> >
> > Allowing following commands and output:
> >
> > $ perf stat -e cycles,instructions --per-thread -p 30190,30242
>
> While testing Adrian's Intel PT patchkit I realised we have --per-thread
> in 'record', wonder if using a long option with the exact same name but
> different meanings for 'stat' and 'record' would cause confusion...

I think the name fits for both stat and record.. and both are doing different
thing, so both --per-thread are also different.. and well documented ;-)

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/