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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephane Eranian
Date: Friday, November 12, 2010 - 2:26 pm

On Fri, Nov 12, 2010 at 6:33 PM, Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
Good.

Good point. You want to allow simultaneous LBR + OFFCORE, i.e., to figure
out the path that led to the event (with some skid). So those need to be in
separate fields. I would go with offcore in attr.config, lbr somewhere else.
If you do this then you have the issue of how generic in the content of that
extra field.


Agreed, not such a good idea. I like the separate lbr_config better.
Could be made
more generic, e.g., branch_stack_config. This is how you've named LBR in the
generic code currently.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2] perf-events: Add support for supplementary ..., Stephane Eranian, (Fri Nov 12, 10:17 am)
Re: [PATCH 1/2] perf-events: Add support for supplementary ..., Stephane Eranian, (Fri Nov 12, 2:26 pm)