[PATCH 1/7] perf: Add helper function to return number of counters

Peter Zijlstra peterz at infradead.org
Wed Oct 6 09:41:32 EDT 2010


On Wed, 2010-10-06 at 14:14 +0200, Robert Richter wrote:
> > +int perf_num_counters(void)
> > +{
> > +     return armpmu_get_max_events();
> > +}
> > +EXPORT_SYMBOL_GPL(perf_num_counters);
> 
> Peter,
> 
> can you please ack this interface? 

It does seem like the best way forward for this, so

Acked-by: Peter Zijlstra <a.p.zijlstra at chello.nl>





More information about the linux-arm-kernel mailing list