Re: [PATCH 2/2] perf, x86: Don't mark DataLA addresses as store

From: Stephane Eranian
Date: Mon Jul 14 2014 - 18:08:42 EST


Andi,

On Mon, Jul 14, 2014 at 9:24 PM, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
>> You could do better if you tagged the event during setup as load vs. store.
>> And then you could simply propagate the flag to the data source struct.
>
> This would require listing all PEBS events in the table again.
> The whole point of the other patch was to get rid of that.
>
> Besides it wouldn't work for a range of events (like UOPS_RETIRED.ALL)
>
I have a problem with this patch.

It makes: perf mem -t store rec record OP_NA for the store.
It was recording OP_STORE before.

I think we need to keep LD/ST info. This is useful for analysis
especially if we collect loads/stores simultaneously.

Was working before for the mem-loads, mem-stores events.
--
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/