Re: [PATCH 00/12] perf_events: add support for sampling takenbranches (v2)

From: Stephane Eranian
Date: Tue Dec 06 2011 - 14:22:41 EST


On Tue, Dec 6, 2011 at 11:20 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Tue, 2011-12-06 at 11:14 -0800, Stephane Eranian wrote:
>
>> >> > Other than the few comments given it all looks good. My main worry is
>> >> > the Intel only aspect, I'd really love for there to be another platform
>> >> > that could implement at least part of this.
>
>> There is a hardware branch buffer on all Itanium processors.
>> You can find the description for the McKinley implementation
>> Â(Itanium2) branch buffer in section 10.3.9 from:
>> http://download.intel.com/design/Itanium2/manuals/25111003.pdf
>
>
> Yeah, I knew Itanic has it, but one its sinking (and doesn't have perf
> support), and two its still Intel ;-)
>
It's just an example of a different implementation of a branch buffer.
That's why I mentioned it. The question is: could the branch_stack
abstraction map to it. I think it could.

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