Public bug reported:

Binary package hint: systemtap

It seems that stap package is missing linux/utrace.h header file. 
------------

j...@media:~/work/stap$ cat hello.stp                                           
                                                                
probe process("/home/jan/work/stap/test_app").function("hello") { log($$parms) 
}                                                               
j...@media:~/work/stap$ sudo stap  --vp 0001 hello.stp                          
                                                                
[sudo] password for jan:                                                        
                                                               
Pass 4, preamble: (re)building SystemTap's version of uprobes.                  
                                                               
Pass 4: compiled C into "stap_6540905b690f54e264a13fda3215606a_1213.ko" in 
1980usr/830sys/5291real ms.                                         
Pass 4: compilation failed.  Try again with another '--vp 0001' option.         
                                                               
j...@media:~/work/stap$ stap  --vp 0001 hello.stp                               
                                                                
                                                                                
                                                               
Pass 4, preamble: verifying that SystemTap's version of uprobes is up to date.  
                                                               
SystemTap's version of uprobes is out of date.                                  
                                                               
As root, run "make -C /usr/share/systemtap/runtime/uprobes".                    
                                                               
Pass 4: compiled C into "stap_b7765eb6de91d48dfb0a22748732ab07_1213.ko" in 
30usr/0sys/150real ms.                                              
Pass 4: compilation failed.  Try again with another '--vp 0001' option.         
                                                               
j...@media:~/work/stap$ j...@media:~/work/stap$ sudo make -C 
/usr/share/systemtap/runtime/uprobes                                            
    
make: Entering directory `/usr/share/systemtap/runtime/uprobes'                 
                                                               
make -C /lib/modules/2.6.31-19-server/build 
SUBDIRS=/usr/share/systemtap/runtime/uprobes modules                            
                   
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-19-server'           
                                                               
  CC [M]  /usr/share/systemtap/runtime/uprobes/uprobes.o                        
                                                               
/usr/share/systemtap/runtime/uprobes/uprobes.c:1:26: error: linux/utrace.h: No 
such file or directory                                          
In file included from /usr/share/systemtap/runtime/uprobes/uprobes.c:8:         
                                                               
/usr/share/systemtap/runtime/uprobes/../uprobes2/uprobes.c: In function 
‘utask_adjust_flags’:

ProblemType: Bug
Architecture: amd64
Date: Sat Feb 27 23:02:41 2010
DistroRelease: Ubuntu 9.10
Package: systemtap 0.0.20090613-1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-server
SourcePackage: systemtap
Uname: Linux 2.6.31-19-server x86_64

** Affects: systemtap (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
user probes do not compiler because of missing linux/utrace.h file
https://bugs.launchpad.net/bugs/529313
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to