> I get "No such device" for /dev/profile when I try to run kernprof.
Check your .config. There should be three kernprof/profiling-lrelated
options turned on for full functionality: CONFIG_PROFILING,
CONFIG_FRAME_POINTER, and CONFIG_MCOUNT. Did you do a "make oldconfig"
and turn those on before running "make dep" and "make install"?
> I think the module\(s\?\) are not getting loaded;
I don't build profiling as a module. Try building it into the kernel.
> I manually try to insmod profile.o \(in the
/lib/modules/2.4.0-test8/kernel/drivers/char\)
> \(I've successfully applied the 0.7-2.4.0-8.patch\) but I get
> "unresolved symbols: prof_multiplier and setup_profiling_timer".
Build profiling into the kernel.
John Hawkes
|