This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
script compilation fails at 'Pass 4'
- From: Mehul Choube <Mehul_Choube at symantec dot com>
- To: "systemtap at sourceware dot org" <systemtap at sourceware dot org>
- Date: Thu, 6 Dec 2012 01:38:32 -0800
- Subject: script compilation fails at 'Pass 4'
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