On Wed, Dec 08, 2004 at 04:00:55PM +0000, John Levon wrote: > On Wed, Dec 08, 2004 at 06:30:51PM +0900, Akinobu Mita wrote: > > > When I forced the oprofile to use timer interrupt with specifying > > "timer=1" module parameter. "oprofile_operations->backtrace" did > > not initialized on i386. > > > > Please apply this patch, or make oprofile initialize the backtrace > > operation in case of using timer interrupt in your preferable way. > > I don't like this patch. The arches should just set the backtrace > always, then try to init the hardware. oprofile_init() should then force > the timer ops as needed. > > Greg? Agreed, that's a cleaner approach. The attached patch (untested) implements that. Akinobu-san, can you please test the patch? Greg. -- Greg Banks, R&D Software Engineer, SGI Australian Software Group. I don't speak for SGI.