Re: [PATCH 4/9] perf stat: Remove transaction_run from shadow update/print code

From: Jiri Olsa
Date: Wed Jun 03 2015 - 11:15:09 EST


On Wed, Jun 03, 2015 at 12:10:38PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jun 03, 2015 at 04:25:54PM +0200, Jiri Olsa escreveu:
> > It's no longer needed, because we use nameid to recognize
> > transaction events.
> >
> > Keeping it only in stat code to initialize transaction events.
>
> Lemme see if I understand this correctly, this update_shadow_stats() is
> called only for transaction runs?
>
> It doesn't seem so, so now we will update those stats all the time?

update_shadow_stats is called on currently read/processed
counter and based on its 'type' we update various other
counters - shadow counters - which are the base for things
like IPC in the stat output

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