[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150626150644.GC3265@kernel.org>
Date: Fri, 26 Jun 2015 12:06:44 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Jiri Olsa <jolsa@...nel.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Andi Kleen <ak@...ux.intel.com>,
David Ahern <dsahern@...il.com>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCHv5 00/22] perf stat: Introduce --per-thread option
Em Fri, Jun 26, 2015 at 11:29:05AM +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
> ^C
> Performance counter stats for process id '30190,30242':
>
> cat-30190 0 cycles
> yes-30242 3,842,525,421 cycles
> cat-30190 0 instructions
> yes-30242 10,370,817,010 instructions
>
> 1.143155657 seconds time elapsed
>
>
> Also works under interval mode:
>
> $ perf stat -e cycles,instructions --per-thread -p 30190,30242 -I 1000
> # time comm-pid counts unit events
Thanks, applied, tested,
- Arnaldo
--
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