Re: [PATCH 25/25] perf stat: Introduce --per-task option

Arnaldo Carvalho de Melo
2015-06-10T19:28:22Z

Em Wed, Jun 10, 2015 at 12:44:34PM -0600, David Ahern escreveu:
> On 6/10/15 12:10 PM, Jiri Olsa wrote:
> >Also woks under interval mode:
> >
> > $ ./perf stat -e cycles,instructions --per-task -p 16431,16173 -I 1000
> > # time task counts unit events
> > 1.000085816 TASK-16173 0 cycles
> > 1.000085816 TASK-16431 3,358,360,926 cycles
> > 3.375949851 TASK-16173 0 instructions
> > 3.375949851 TASK-16431 3,414,532,317 instructions
> >
>
> Why not print $comm-$pid versus TASK-$pid?

Agreed.

- Arnaldo