public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/16500] New: provide a way for users to retrieve probe point arguments in a consistent manner
@ 2014-01-22 22:16 jlebon at redhat dot com
  0 siblings, 0 replies; only message in thread
From: jlebon at redhat dot com @ 2014-01-22 22:16 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 16500
           Summary: provide a way for users to retrieve probe point
                    arguments in a consistent manner
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: jlebon at redhat dot com

Discussing with Josh on IRC, we thought it would be nice to have a consistent
method of accessing probe point arguments, rather than having an array of
tapset functions.

E.g. one possibility is to have something like @pp("function"), or instead (if
it helps the type_resolution pass), @ppstr("function") and @ppnum("statement").
Something like this could be expanded at translate-time to a lookup into
runtime structures to retrieve the appropriate information.

This would be easy for things we already have, e.g. function, process, module.
But it might require including more info in the module for things that have
been translated away, e.g. label->function@file:line, or plt->statement(num).
We can't always rely on parsing probe_name, since it may be hidden behind
aliases. And probe_point has only the final resolution components and
arguments.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-22 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-22 22:16 [Bug translator/16500] New: provide a way for users to retrieve probe point arguments in a consistent manner jlebon at redhat dot com

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