Advertisement
Guest User

systemtap - task_file_handle_socket

a guest
Dec 10th, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 3.76 KB | None | 0 0
  1. [root@centos63-stap stps]# stap -g connect.stp -c "curl www.google.com"
  2. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_socket_family’:
  3. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: ‘STAP_ARG_sock’ undeclared (first use in this function)
  4. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: (Each undeclared identifier is reported only once
  5. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: for each function it appears in.)
  6. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:871: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
  7. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_socket_ipv4_sockname’:
  8. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:901: error: ‘STAP_ARG_sock’ undeclared (first use in this function)
  9. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:911: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
  10. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_task_file_handle_socket’:
  11. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:973: error: ‘STAP_ARG_task’ undeclared (first use in this function)
  12. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:981: error: ‘STAP_ARG_fd’ undeclared (first use in this function)
  13. /tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:985: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
  14. make[1]: *** [/tmp/stapl3dZpX/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.o] Error 1
  15. make: *** [_module_/tmp/stapl3dZpX] Error 2
  16. WARNING: make exited with status: 2
  17. Pass 4: compilation failed.  Try again with another '--vp 0001' option.
  18.  
  19. [root@centos63-stap stps]# stap -g --vp 0001 connect.stp -c "curl www.google.com"
  20. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_socket_family’:
  21. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: ‘STAP_ARG_sock’ undeclared (first use in this function)
  22. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: (Each undeclared identifier is reported only once
  23. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:869: error: for each function it appears in.)
  24. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:871: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
  25. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_socket_ipv4_sockname’:
  26. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:901: error: ‘STAP_ARG_sock’ undeclared (first use in this function)
  27. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:911: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
  28. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c: In function ‘function_task_file_handle_socket’:
  29. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:973: error: ‘STAP_ARG_task’ undeclared (first use in this function)
  30. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:981: error: ‘STAP_ARG_fd’ undeclared (first use in this function)
  31. /tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.c:985: error: ‘STAP_RETVALUE’ undeclared (first use in this function)
  32. make[1]: *** [/tmp/stapAmEXFi/stap_aa4cf5232143341b4a4685f5edf6c1b0_9754_src.o] Error 1
  33. make: *** [_module_/tmp/stapAmEXFi] Error 2
  34. WARNING: make exited with status: 2
  35. Pass 4: compiled C into "stap_aa4cf5232143341b4a4685f5edf6c1b0_9754.ko" in 1340usr/650sys/1915real ms.
  36. Pass 4: compilation failed.  Try again with another '--vp 0001' option.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement