public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "eldereng at hotmail dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug uprobes/15016] SystemTap + Probing User Space‏
Date: Tue, 15 Jan 2013 23:11:00 -0000	[thread overview]
Message-ID: <bug-15016-6586-g1UdNcYobb@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15016-6586@http.sourceware.org/bugzilla/>

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.

  parent reply	other threads:[~2013-01-15 23:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 21:46 [Bug uprobes/15016] New: " eldereng at hotmail dot com
2013-01-14 21:55 ` [Bug uprobes/15016] " fche at redhat dot com
2013-01-15 23:11 ` eldereng at hotmail dot com [this message]
2013-01-16  0:03 ` jistone at redhat dot com
2013-01-16 16:50 ` eldereng at hotmail dot com
2013-01-16 17:13 ` fche at redhat dot com
2013-02-20 18:11 ` [Bug uprobes/15016] kernel 3.7.2xen uprobes can cause SEGV on probed app fche at redhat dot com
2020-04-24 17:10 ` fche at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15016-6586-g1UdNcYobb@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).