kernprof
[Top] [All Lists]

how to patch 2.4. kernel

To: kernprof@xxxxxxxxxxx
Subject: how to patch 2.4. kernel
From: vivid_liou@xxxxxxxxxxxx
Date: Sat, 24 Mar 2001 18:34:00 +0800
Sender: owner-kernprof@xxxxxxxxxxx

Sir :

I need the the power of kernpro to help me trace the kernel code , but I failed
the install the kernprof . I would be very appreciate if you could help me to
solve the problem .  I do the following steps .
1.   cd gcc-2.95.2
     patch -pl <gcc-patch
     configure
     make bootstrap
     make install
2.   I used linux2.4
     patch -p1 <profile0.8-2.4.0.patch
     make xconfig (at this time , I disable the three item " character
devices->kernel priofing support "" kernel hacking ->compile with frame pointer
" "kernel hacking->instrument kernel with call to mount "

     make bzImage
3.   rebooting with the new kernel


but booting process die after uncompresed kernel ,
I saw FAQ , and knew it may occur becuase gcc is not patched . but I did patch
gcc.
I am wondering if i miss some steps , so that it does't work .

then i try to enable the three kernprof items , and recompile the kernel , the
booting process also dies , and the following message show " idle process"  then
system hang .


Thank you very much , I really need some help .





<Prev in Thread] Current Thread [Next in Thread>