Re: perf_counter vs. oprofile

2009-01-21 Thread David Miller
From: Paul Mackerras Date: Thu, 22 Jan 2009 18:06:13 +1100 > Out of curiosity, what ppc hardware are you using perf_counters on? > A G5? An UltraSPARC-IIIi :-) I just wanted to make sure you realized the conflict, and you obviously do. ___ Linuxppc-de

Re: perf_counter vs. oprofile

2009-01-21 Thread Paul Mackerras
David Miller writes: > Paul, I just noticed that right now if perf counter is enabled, the > oprofile module load will always fail because the powerpc perf counter > support unconditionally grabs the PMC hardware using > reserve_pmc_hardware() in an arch_initcall() > > There really needs to be a

perf_counter vs. oprofile

2009-01-21 Thread David Miller
Paul, I just noticed that right now if perf counter is enabled, the oprofile module load will always fail because the powerpc perf counter support unconditionally grabs the PMC hardware using reserve_pmc_hardware() in an arch_initcall() There really needs to be a way to segregate these multiple u