Messages in this thread | | | Date | Fri, 10 Jan 2014 10:40:56 +0100 | From | Peter Zijlstra <> | Subject | Re: [patch/rfc] perf on raspberry-pi without overflow interrupt |
| |
On Thu, Jan 09, 2014 at 11:08:47PM -0500, Vince Weaver wrote: > On Thu, 9 Jan 2014, Will Deacon wrote: > > > I'd rather see it in the generic code if at all possible. Maybe we could add > > a flags field to perf_pmu_register? > > I can look into adding the check in generic code.
Adding something like this to the generic code would mean adding a struct pmu capabilities field and visiting all existing PMU implementations to properly fill this out.
There's a number of hardware PMU implementations that do not have an interrupt and would need to set this flag.
| |