This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]