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

From: Arnaldo Carvalho de Melo
Date: Wed Jun 10 2015 - 15:28:24 EST


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
--
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/