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 translator/9770] stap -l 'process("bla").mark("*")' should print marker names


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


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