On Mon, 2010-01-18 at 15:45 +0100, Frederic Weisbecker wrote:
> 
> > > That requires to know in advance if we have hardware pmu
> > > in the list though (can be a flag in the group).
> > 
> > Good point, but your proposed hw_check_constraint() call needs to know
> > the exact same.
> 
> 
> True. Whatever model we use anyway, both implement the same idea.

Hmm, we seem to already have that problem (which would indicate another
bug in the hw-breakpoint stuff), how do you deal with
hw_perf_{enable,disable}() for the breakpoints?

We could fix this by making these pmu state functions into a callback
list visiting all registered PMUs.


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to