[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTik4aRK-Xymww5=-duy1x=qmL1C4CA@mail.gmail.com>
Date: Sat, 23 Apr 2011 00:15:22 +0200
From: Stephane Eranian <eranian@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Lin Ming <ming.m.lin@...el.com>,
LKML <linux-kernel@...r.kernel.org>,
"mingo@...e.hu" <mingo@...e.hu>,
"Kleen, Andi" <andi.kleen@...el.com>
Subject: Re: perf_events: questions about cpu_has_ht_siblings() and offcore support
On Fri, Apr 22, 2011 at 10:42 PM, Peter Zijlstra <peterz@...radead.org> wrote:
> On Fri, 2011-04-22 at 15:46 +0200, Stephane Eranian wrote:
>>
>> perf stat -e offcore_response_0:dmd_data_rd,offcore_response_0:dmnd_rfo ......
>>
>> This should still not be allowed.
>
> Aside from the problem you mention, I don't like the whole
> offcore_response_[01] thing. The offcore things are fully symmetric so
> the kernel should automatically select the other one if one is taken.
>
We could indeed do this. Though it would mean special casing
event codes 0xbb and 0xb7. You'd have to lookup the per-core struct
to decide whether it's worth it or not.
--
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