From: William C. <wc...@re...> - 2005-11-22 16:45:47
|
Moyard, John wrote: > Hi, > > I tried to run Oprofile 0.9.1 on Linux 2.4.21-4.ELsmp SMP platform. > I have installed Oprofile using '--with-linux' configure option. > But when I run 'opcontrol --start' after a 'opcontrol > --vmlinux=/boot/vmlinux-2.4.21-4.ELsmp', I have the error message: > " > Using 2.6+ OProfile kernel interface. > kernel_start = c0100000, kernel_end = c027d1df > op_read_int_from_file: Failed to open /dev/oprofile//pointer_size, > reason No such file or directory > Couldn't start oprofiled. > Check the log file "/var/lib/oprofile/oprofiled.log" and kernel syslog > " > Could someone help me ? > Is-it due to a problem of Linux version? > > Thanks, > > John. Hi John, It looks like you are using a RHEL kernel with a later version of OProfile. During the development there have been changes to the OProfile interface between user-space and the kernel. Unless, you know the details of the changes between the different version of OProfile, mixing of kernel and oprofile versions is discouraged. The FAQ I have on OProfile for Red Hat stuff is a little out of date, but it provides a bit more information. http://people.redhat.com/wcohen/OProfileFAQ.txt -Will |