[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101115113148.GG7269@basil.fritz.box>
Date: Mon, 15 Nov 2010 12:31:48 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Stephane Eranian <eranian@...gle.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
cjashfor@...ux.vnet.ibm.com, mingo@...e.hu, fweisbec@...il.com,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 1/2] perf-events: Add support for supplementary event
registers v2
> 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@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists