Jianpeng Dong wrote:
> Hi all,
>
> I installed the oprofile 0.5.4 (BTW, oprofile 0.6.0 and 0.6.1 could not
> be compiled at all, but after ignore the gui-related codes, I also
> managed to compile and build them) on a RH-7.2 486 compatible computer.
> However, when I tried to run "opcontrol --no-vmlinux --init", I got an
> error message like,
>
> Cannot locate oprofile module
you must fix that first:
$ modprobe oprofile
should load correctly the driver, it is installed in
/lib/modules/`uname -r`/oprofile/oprofile.o
after a correct load of the driver you must get:
$ grep /proc/devices oprof
254 oprof
$ grep /proc/modules oprofile
oprofile 17736 -1
look also with dmesg for any error messages.
you can force the driver to use RTC mode, look the documentation, the
FAQ also mention than RTC kernel driver must no be builtin in the kernel
nor loaded if it was built as sdriver, see the FAQ
regards,
Philippe Elie
|