public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11095] New: Support "provider" for mark() probes
@ 2009-12-16 11:32 mjw at redhat dot com
  2010-01-19 16:54 ` [Bug translator/11095] " fche at redhat dot com
  2010-06-02 20:04 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2009-12-16 11:32 UTC (permalink / raw)
  To: systemtap

Currently we do have a compatibility layer for dtrace probes, but we just toss
away the provider name (in sdt.h the macros take a provider string, but then
just don't use or store it anywhere).

This would help support multiple static probe names that only differ in their
provider name in an executable or shared library.

It would also maybe help in the future (when we can automagically detect
executables/shared libraries used/running) by not needing the executable path or
shared library to be given.

Probably the easiest way to support this would be to just add the provider name
to the name as stored in the .probes section already (prefixed with underscore
maybe?). We just will have to make sure that you can still select static probe
names without the provider and to select an "old style" no provider-included
name from the .probes section if none had been stored (added/mangled in the
.probes name).

-- 
           Summary: Support "provider" for mark() probes
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com
                CC: scox at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11095

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/11095] Support "provider" for mark() probes
  2009-12-16 11:32 [Bug translator/11095] New: Support "provider" for mark() probes mjw at redhat dot com
@ 2010-01-19 16:54 ` fche at redhat dot com
  2010-06-02 20:04 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2010-01-19 16:54 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |11179
              nThis|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=11095

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/11095] Support "provider" for mark() probes
  2009-12-16 11:32 [Bug translator/11095] New: Support "provider" for mark() probes mjw at redhat dot com
  2010-01-19 16:54 ` [Bug translator/11095] " fche at redhat dot com
@ 2010-06-02 20:04 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2010-06-02 20:04 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-05-31 22:26 -------
I'm thinking of implementing this by prefixing the probe name as stored
in the .probes section data by the provider name and a "$" character. 
The translator would then accept an optional probe point option to specify
the provider name, and expand it properly upon disassembly.  (Without $
in the probe name, as in currently built executables, would mean a null
provider name.)


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |fche at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|0000-00-00 00:00:00         |2010-05-31 22:26:21
               date|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=11095

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-31 22:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-16 11:32 [Bug translator/11095] New: Support "provider" for mark() probes mjw at redhat dot com
2010-01-19 16:54 ` [Bug translator/11095] " fche at redhat dot com
2010-06-02 20:04 ` fche 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).