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

From: Andi Kleen
Date: Mon Jul 14 2014 - 15:25:05 EST


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

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