[Bug translator/9770] stap -l 'process("bla").mark("*")' should print marker names

scox at redhat dot com sourceware-bugzilla@sourceware.org
Mon Feb 16 19:55:00 GMT 2009


------- 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.



More information about the Systemtap mailing list