Re: [PATCH] perf stat: fix per-socket output bug for uncore events

From: Arnaldo Carvalho de Melo
Date: Fri Jul 05 2013 - 16:37:55 EST


Em Fri, Jul 05, 2013 at 07:06:45PM +0200, Stephane Eranian escreveu:
>
> This patch fixes a problem reported by Andi Kleen on perf
> stat when measuring uncore events:
>
> # perf stat --per-socket -e uncore_pcu/event=0x0/ -I1000 -a sleep 2
>
> It would not report counts for the second socket. That was due to a
> cpu mapping bug in print_aggr().
>
> This patch also fixes the socket numbering bug for <not counted>
> events.
>
> Reported-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> Signed-off-by: Stephane Eranian <eranian@xxxxxxxxxx>

Thanks, applied.

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