Re: [PATCH 6/6] perf, x86: Suppress duplicated abort LBR records

From: Peter Zijlstra
Date: Mon Sep 16 2013 - 07:28:43 EST


On Fri, Sep 13, 2013 at 11:08:36AM -0700, Andi Kleen wrote:
> - cpuc->lbr_entries[i].from = from;
> - cpuc->lbr_entries[i].to = to;
> - cpuc->lbr_entries[i].mispred = mis;
> - cpuc->lbr_entries[i].predicted = pred;
> - cpuc->lbr_entries[i].in_tx = in_tx;
> - cpuc->lbr_entries[i].abort = abort;
> - cpuc->lbr_entries[i].reserved = 0;

> + cpuc->lbr_entries[out].from = from;
> + cpuc->lbr_entries[out].to = to;
> + cpuc->lbr_entries[out].mispred = mis;
> + cpuc->lbr_entries[out].predicted = pred;
> + cpuc->lbr_entries[out].in_tx = in_tx;
> + cpuc->lbr_entries[out].abort = abort;
> + cpuc->lbr_entries[out].reserved = 0;

just add an extra space before the '=' so they're all nicely aligned
again.
--
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/