Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@centos63-stap stps]# stap -g connect.stp -c "curl www.google.com"
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_socket_family’:
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: ‘STAP_ARG_sock’ undeclared (first use in this function)
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: (Each undeclared identifier is reported only once
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: for each function it appears in.)
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:871: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_socket_ipv4_sockname’:
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:901: error: ‘STAP_ARG_sock’ undeclared (first use in this function)
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:911: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_task_file_handle_socket’:
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:973: error: ‘STAP_ARG_task’ undeclared (first use in this function)
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:981: error: ‘STAP_ARG_fd’ undeclared (first use in this function)
- /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:985: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
- make[1]: *** [/tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.o] Error 1
- make: *** [_module_/tmp/stapl3dZpX] Error 2
- WARNING: make exited with status: 2
- Pass 4: compilation failed. Try again with another '--vp 0001' option.
- [root@centos63-stap stps]# stap -g --vp 0001 connect.stp -c "curl www.google.com"
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_socket_family’:
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: ‘STAP_ARG_sock’ undeclared (first use in this function)
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: (Each undeclared identifier is reported only once
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: for each function it appears in.)
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:871: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_socket_ipv4_sockname’:
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:901: error: ‘STAP_ARG_sock’ undeclared (first use in this function)
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:911: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_task_file_handle_socket’:
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:973: error: ‘STAP_ARG_task’ undeclared (first use in this function)
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:981: error: ‘STAP_ARG_fd’ undeclared (first use in this function)
- /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:985: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
- make[1]: *** [/tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.o] Error 1
- make: *** [_module_/tmp/stapAmEXFi] Error 2
- WARNING: make exited with status: 2
- Pass 4: compiled C into "stap_aa4cf5232143341b4a4685f5edf6c1b0_9754.ko" in 1340usr/650sys/1915real ms.
- Pass 4: compilation failed. Try again with another '--vp 0001' option.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement