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]

[Bug uprobes/15016] SystemTap + Probing User Spaceâ


http://sourceware.org/bugzilla/show_bug.cgi?id=15016

Elder <eldereng at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #2 from Elder <eldereng at hotmail dot com> 2013-01-15 23:11:00 UTC ---
I installed the latest version of kernel (3.7.2), but the systemtap not working
for probing in user space.

I tested using the following command:

stap -vvv -e 'probe process("/bin/ls").function("*") { log(pp()) }' -c /bin/ls



Return of the command:

Systemtap translator/driver (version 2.1/0.153, commit
release-2.0-108-g6b378b7)
Copyright (C) 2005-2012 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBSQLITE3 NSS BOOST_SHARED_PTR TR1_UNORDERED_MAP NLS
Created temporary directory "/tmp/stapimWfUH"
Session arch: x86_64 release: 3.7.2xen
Parsed kernel "/lib/modules/3.7.2xen/build/.config", containing 4043 tuples
Parsed kernel /lib/modules/3.7.2xen/build/Module.symvers, which contained 5975
vmlinux exports
Searched for library macro files:
"/usr/local/share/systemtap/tapset/linux/*.stpm", found: 1, processed: 1
Searched for library macro files: "/usr/local/share/systemtap/tapset/*.stpm",
found: 1, processed: 1
Searched: "/usr/local/share/systemtap/tapset/linux/x86_64/*.stp", found: 3,
processed: 3
Searched: "/usr/local/share/systemtap/tapset/linux/*.stp", found: 64,
processed: 64
Searched: "/usr/local/share/systemtap/tapset/x86_64/*.stp", found: 1,
processed: 1
Searched: "/usr/local/share/systemtap/tapset/*.stp", found: 20, processed: 20
Pass 1: parsed user script and 90 library script(s) using
81148virt/24524res/2524shr/22636data kb, in 120usr/10sys/137real ms.
Extracting build ID.
parse '*', func '*'
focused on module '/usr/bin/ls' = [0x400000-0x61c368, bias 0 file /usr/bin/ls
ELF machine |x86_64 (code 62)
focused on module '/usr/bin/ls'
WARNING: cannot find module /usr/bin/ls debuginfo: No DWARF information found
semantic error: while resolving probe point: identifier 'process' at
<input>:1:7
        source: probe process("/bin/ls").function("*") { log(pp()) }
                      ^

semantic error: no match
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 81788virt/25576res/2884shr/23164data kb, in 10usr/0sys/4real ms.
Pass 2: analysis failed.  Try again with another '--vp 01' option.
Running rm -rf /tmp/stapimWfUH
Spawn waitpid result (0x0): 0
Removed temporary directory "/tmp/stapimWfUH"


Source of the code:
http://sourceware.org/systemtap/wiki/HomePage?action=AttachFile&do=get&target=fosdem-stap.pdf


Can someone help me?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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