utrace & systemtap scripts

Wenji Huang wenji.huang@oracle.com
Fri Jun 15 08:44:00 GMT 2007


Hi guru,

  In trying uprobe, I downloaded mainline kernel linux-2.6.21.tar.bz2 
and got linux-2.6-utrace.patch from 
http://people.redhat.com/roland/utrace/2.6-current/.

  Unfortunately, some failed in patching.
       patching file arch/s390/kernel/process.c
       Hunk #1 FAILED at 321.

       patching file arch/s390/kernel/compat_linux.c
       Hunk #1 FAILED at 513.

       patching file arch/powerpc/kernel/asm-offsets.c
       Hunk #1 FAILED at 59.

       patching file arch/powerpc/kernel/ptrace.c
       Hunk #2 FAILED at 265.
   
       patching file arch/avr32/kernel/ptrace.c
       Hunk #1 FAILED at 5.
    
       patching file kernel/fork.c
       Hunk #11 FAILED at 1364.

       patching file kernel/exit.c
       Hunk #6 FAILED at 296.

       patching file kernel/ptrace.c
       Hunk #1 FAILED at 18.

       patching file kernel/signal.c
       Hunk #4 FAILED at 100.
       Hunk #11 FAILED at 1498.

       patching file include/linux/sched.h
       Hunk #1 FAILED at 823.

    Although I switched "infrastructure of tracing and debugging users 
processes" on, make can't be passed. So I wonder whether there are other 
patches needed or I am not in the right building steps?


BTW:
   I wrote two stap scripts and uploaded them to wiki, you can refer to 
them.

Best regards,

***Wenji Huang
* *
Oracle Asia Research & Development Center
Open Source Technologies Development
*



More information about the Systemtap mailing list