Re: [PATCH 1/2] perf-events: Add support for supplementary eventregisters v2

From: Andi Kleen
Date: Mon Nov 15 2010 - 06:31:55 EST


> Why would you want to measure both at the same time?
> Because you can measure two distinct request/response in one run.
>
> If you want to measure both you need to create two distinct perf events.

What I did currently was to assign some cache events to 0xb7 and
others to bb on Westmere. That's a bit arbitrary, but allows to
measure some common combinations together at least.

In theory one could teach the scheduler that these events
are equivalent, but that seems like too much complexity for
me currently.
-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/