script compilation fails at 'Pass 4'
Mehul Choube
Mehul_Choube@symantec.com
Thu Dec 6 09:38:00 GMT 2012
Hi,
Whenever a syscall.connect returns I want to print the socket name (getsockname())
Error:
======= run start =======
[root@rhel5-stap stps]# stap -g strace-connect.stp -c "curl www.google.com"
Pass 4: compilation failed. Try again with another '--vp 0001' option.
[root@rhel5-stap stps]# stap -g --vp 0001 strace-connect.stp -c "curl www.google.com"
Pass 4: compiled C into "stap_b7800dfc97ca81afbd4921aaa452d856_6437.ko" in 740usr/190sys/932real ms.
Pass 4: compilation failed. Try again with another '--vp 0001' option.
[root@rhel5-stap ~]# uname -a
Linux rhel5-stap 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
======= run end =======
The script and the C code is at: http://pastebin.com/ZspDG6qx
Thanks,
Mehul
More information about the Systemtap
mailing list