[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1263826601.4283.603.camel@laptop>
Date: Mon, 18 Jan 2010 15:56:41 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Stephane Eranian <eranian@...gle.com>,
linux-kernel@...r.kernel.org, mingo@...e.hu, paulus@...ba.org,
davem@...emloft.net, perfmon2-devel@...ts.sf.net, eranian@...il.com
Subject: Re: [PATCH] perf_events: improve x86 event scheduling (v5)
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.
--
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