Skip to content

Instantly share code, notes, and snippets.

@WheresWardy
Created November 29, 2011 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WheresWardy/1404868 to your computer and use it in GitHub Desktop.
Save WheresWardy/1404868 to your computer and use it in GitHub Desktop.
Usertap error log
[root@w tmp]# stap -vv --vp 00001 /root/usertap/src/usertap.stp
Created temporary directory "/tmp/staphlk3IP"
SystemTap translator/driver (version 1.4/0.152 non-git sources)
Copyright (C) 2005-2011 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR TR1_UNORDERED_MAP
Session arch: x86_64 release: 2.6.32-131.0.15.el6.x86_64
Searched "/usr/share/systemtap/tapset/x86_64/*.stp", found 3 processed 3
Searched "/usr/share/systemtap/tapset/*.stp", found 73 processed 73
Pass 1: parsed user script and 76 library script(s) using 96876virt/22600res/2788shr kb, in 140usr/20sys/151real ms.
perf probe type=1 config=0 period=1000000
Probe point perf.sw.cpu_clock! sufficient, skipped timer.profile
probe vfs_read@fs/read_write.c:277 kernel reloc=.dynamic pc=0xffffffff81172d60
probe vfs_write@fs/read_write.c:332 kernel reloc=.dynamic pc=0xffffffff811724f0
probe tcp_recvmsg@net/ipv4/tcp.c:1356 kernel reloc=.dynamic pc=0xffffffff81461070
probe tcp_sendmsg@net/ipv4/tcp.c:899 kernel reloc=.dynamic pc=0xffffffff8145ef90
probe udp_recvmsg@net/ipv4/udp.c:953 kernel reloc=.dynamic pc=0xffffffff8147ad10
probe udp_sendmsg@net/ipv4/udp.c:597 kernel reloc=.dynamic pc=0xffffffff81479b90
Pass 2: analyzed script: 22 probe(s), 20 function(s), 8 embed(s), 18 global(s) using 312380virt/111212res/4168shr kb, in 1160usr/240sys/1415real ms.
Pass 3: using cached /root/.systemtap/cache/40/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.c
Pass 4: using cached /root/.systemtap/cache/40/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.ko
Pass 5: starting run.
Running /usr/bin/staprun -v -v /tmp/staphlk3IP/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.ko
staprun:main:283 modpath="/tmp/staphlk3IP/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.ko", modname="stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682"
staprun:init_staprun:219 init_staprun
staprun:insert_module:60 inserting module
staprun:insert_module:81 module options: _stp_bufsize=0
staprun:check_signature:270 checking signature for /tmp/staphlk3IP/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.ko
Signature file /tmp/staphlk3IP/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.ko.sgn not found
staprun:check_signature:284 verify_module returns 0
staprun:init_ctl_channel:34 Opened /sys/kernel/debug/systemtap/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682/.cmd (3)
staprun:close_ctl_channel:53 Closed ctl fd 3
staprun:init_ctl_channel:34 Opened /sys/kernel/debug/systemtap/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682/.cmd (3)
staprun:close_ctl_channel:53 Closed ctl fd 3
execing: /usr/libexec/systemtap/stapio -v -v /tmp/staphlk3IP/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.ko
stapio:main:37 modpath="/tmp/staphlk3IP/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.ko", modname="stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682"
stapio:init_stapio:318 init_stapio
stapio:init_ctl_channel:34 Opened /sys/kernel/debug/systemtap/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682/.cmd (3)
stapio:stp_main_loop:502 in main loop
stapio:init_relayfs:239 initializing relayfs
stapio:init_relayfs:263 attempting to open /sys/kernel/debug/systemtap/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682/trace0
stapio:init_relayfs:263 attempting to open /sys/kernel/debug/systemtap/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682/trace1
stapio:init_relayfs:269 ncpus=1, bulkmode = 0
stapio:init_relayfs:351 starting threads
stapio:stp_main_loop:630 probe_start() returned 0
ERROR: kernel read fault at 0x0000000100000264 (addr) near identifier '@cast' at /usr/share/systemtap/tapset/ip.stp:45:11
stapio:stp_main_loop:622 got STP_REQUEST_EXIT
WARNING: Number of errors: 1, skipped probes: 1
stapio:stp_main_loop:615 got STP_EXIT
stapio:cleanup_and_exit:403 detach=0
stapio:close_relayfs:367 closing
stapio:close_relayfs:386 done
stapio:cleanup_and_exit:420 closing control channel
stapio:close_ctl_channel:53 Closed ctl fd 3
stapio:cleanup_and_exit:433 removing stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682
staprun:parse_modpath:357 modpath="/lib/modules/2.6.32-131.0.15.el6.x86_64/systemtap/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.ko"
staprun:main:283 modpath="/lib/modules/2.6.32-131.0.15.el6.x86_64/systemtap/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682.ko", modname="stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682"
staprun:init_staprun:219 init_staprun
staprun:remove_module:176 stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682
staprun:init_ctl_channel:34 Opened /sys/kernel/debug/systemtap/stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682/.cmd (3)
staprun:close_ctl_channel:53 Closed ctl fd 3
staprun:remove_module:201 removing module stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682
staprun:remove_module:213 Module stap_40ea4850c1c1a8ac03e6511dec1e3ab3_15682 removed.
Spawn waitpid result (0x0x100): 1
Pass 5: run completed in 10usr/90sys/390real ms.
Pass 5: run failed. Try again with another '--vp 00001' option.
Running rm -rf /tmp/staphlk3IP
Spawn waitpid result (0x0): 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment