This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/9770] stap -l 'process("bla").mark("*")' should print marker names
- From: "scox at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 16 Feb 2009 19:53:21 -0000
- Subject: [Bug translator/9770] stap -l 'process("bla").mark("*")' should print marker names
- References: <20090121115616.9770.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.