From: Vladimir G. I. <vla...@ac...> - 2003-03-07 19:30:05
|
>>>>> "JL" == John Levon <le...@mo...> writes: >> Is there a version of oprofile that will work with a stock RedHat >> kernel? > Not in Red Hat 7.x. For 8.0, use Red Hat's version. This doesn't seem to work either with my RH 8.0 system (kernel-smp-2.4.18-24.8.0): # rpm -q oprofile oprofile-0.3-0.20020806 # op_start --vmlinux=/boot/vmlinux-2.4.18-24.8.0smp --ctr0-event=CPU_CLK_UNHALTED --ctr0-count=600000 Failed to open profile device: Bad address Couldn't start oprofiled. Check the log file "/var/lib/oprofile//oprofiled.log" and /var/log/messages The file /var/lib/oprofile/oprofiled.log exists but is empty. The file /var/log/messages contains: Mar 7 11:22:54 bach kernel: oprofile: failed to allocate hash table of 8388608 bytes Is the only solution to build my own kernel with the latest and greatest oprofile? --- Vladimir ------------------------------------------------------------------------ Vladimir G. Ivanovic http://leonora.org/~vladimir 2770 Cowper St. vla...@ac... Palo Alto, CA 94306-2447 +1 650 678 8014 |