[Bug translator/16478] stap -l process.function.label listing not just labels

jistone at redhat dot com sourceware-bugzilla@sourceware.org
Tue Jan 21 20:22:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=16478

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com

--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
(In reply to Jonathan Lebon from comment #0)
> $ stap -l 'process("labels.x").function("*").label("*")'

If you look at "... -vv |& grep pc=", you'll see those extras are all FUNC@:-1,
which is a sign that these were resolved through the symtab.  We should not
attempt symbtab at all for .label probes. (dwarf_query::has_label)

> Along these lines, it might be interesting to have a pplabel() tapset function.

Sure, sounds fine.  There are probably a lot of ppX() we could do, but this one
should be pretty straightforward.

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



More information about the Systemtap mailing list