2010/5/28 David Daney <david.s.daney@xxxxxxxxx>: > Why is it called 'max_events' when it is returning the number of counters? > How about mipspmu_get_max_counters? [DC]: OK. > Do we even need this accessor? > > Why not just query it from the struct mips_pmu? Don't you need the mipspmu > structure anyhow to be able to use the counters? [DC]: This is for the code outside of Perf-events, such as the module of the new Oprofile which is a client of Perf-events. If we don't need this, we have to export the whole mipspmu. Deng-Cheng