public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "scox at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/9770] stap -l 'process("bla").mark("*")' should print marker names
Date: Mon, 16 Feb 2009 19:55:00 -0000	[thread overview]
Message-ID: <20090216195321.2101.qmail@sourceware.org> (raw)
In-Reply-To: <20090121115616.9770.mjw@redhat.com>


------- Additional Comments From scox at redhat dot com  2009-02-16 19:53 -------
This works fine, modulo one gets a line number instead of a label name, for gcc
where there are DW_TAG_label that can be queried:
stap -c ./static_uprobes.x -l  'process("static_uprobes.x").mark("*")'
process("static_uprobes.x").function("bar@static_uprobes.c:11")
process("static_uprobes.x").function("baz@static_uprobes.c:17")
process("static_uprobes.x").function("baz@static_uprobes.c:20")
process("static_uprobes.x").function("buz@static_uprobes.c:28")
gcc compiled probes all use .label now.

This is a tough one for g++ 4.3.2 because there are usually no DW_TAG_label to
query so everything is done by converting info in .probe to .statement,
therefore there is no obvious way to hook into the -l machinery.

-- 


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

  reply	other threads:[~2009-02-16 19:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21 12:08 [Bug translator/9770] New: " mjw at redhat dot com
2009-02-16 19:55 ` scox at redhat dot com [this message]
2009-02-18  4:03 ` [Bug translator/9770] " scox 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=20090216195321.2101.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sources.redhat.com \
    /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).