On Fri, 27 May 2011, Arun Sharma wrote:
> On Fri, May 27, 2011 at 05:53:41PM -0400, Vince Weaver wrote:
> cache-references.c:
>
> pe.config=PERF_COUNT_HW_CACHE_REFERENCES;
> if (!quiet) printf("\tL1 D accesseses: %lld %lf\n",count,aSumm);
>
> PERF_COUNT_HW_CACHE_REFERENCES is counting LLC references on many
> platforms. Did you mean to use PERF_COUNT_HW_CACHE_L1D here?
probably. That was a last minute addition. I have a much more complete
set of tests writted for PAPI and I'm trying to port over the ones that
make sense to be perf-event direct. Properly programming perf_event
generalized cache events isn't documented very well though.
I've been distracted by the fact that my overflow tests start failing as
of kernel 2.6.36 :( I hadn't noticed because I was primarily developing
the tests on 2.6.32 and 2.6.35 machines.
Vince
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html