public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/6445] New: extend utrace probes with target-process syntax
@ 2008-04-22 15:50 fche at redhat dot com
  2008-04-30 21:26 ` [Bug translator/6445] " fche at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fche at redhat dot com @ 2008-04-22 15:50 UTC (permalink / raw)
  To: systemtap

We now have some process(PID).* and process("NAME").* probes.  This could be
extended to join the existing "stap -c CMD" / "stap -x PID" process targeting
facility:

* extend the task-finder logic to restrict its scanning of tasks to the
  staprun-given target-pid (and its descendants) only
* permit process.* utrace probes (i.e., not parametrized with "NAME" or PID,
  implicitly referring to the target-pid (and its descendants)

The "and its descendants" qualifier may need to be an option rather than
be hard-coded.

-- 
           Summary: extend utrace probes with target-process syntax
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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

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

* [Bug translator/6445] extend utrace probes with target-process syntax
  2008-04-22 15:50 [Bug translator/6445] New: extend utrace probes with target-process syntax fche at redhat dot com
@ 2008-04-30 21:26 ` fche at redhat dot com
  2008-07-19 18:24 ` [Bug translator/6445] extend utrace probes with wildcard and " fche at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2008-04-30 21:26 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-04-30 21:12 -------
*** Bug 5898 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jkenisto at us dot ibm dot
                   |                            |com


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

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

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

* [Bug translator/6445] extend utrace probes with wildcard and target-process syntax
  2008-04-22 15:50 [Bug translator/6445] New: extend utrace probes with target-process syntax fche at redhat dot com
  2008-04-30 21:26 ` [Bug translator/6445] " fche at redhat dot com
@ 2008-07-19 18:24 ` fche at redhat dot com
  2008-07-30 15:22 ` [Bug translator/6445] extend utrace probes with "system-wide" " fche at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2008-07-19 18:24 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-07-19 18:23 -------
In addition,

  probe process("*").{begin,syscall,...} 

should constitute utrace-based probes on all processes systemwide.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drepper at redhat dot com
            Summary|extend utrace probes with   |extend utrace probes with
                   |target-process syntax       |wildcard and target-process
                   |                            |syntax


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

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

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

* [Bug translator/6445] extend utrace probes with "system-wide" and target-process syntax
  2008-04-22 15:50 [Bug translator/6445] New: extend utrace probes with target-process syntax fche at redhat dot com
  2008-04-30 21:26 ` [Bug translator/6445] " fche at redhat dot com
  2008-07-19 18:24 ` [Bug translator/6445] extend utrace probes with wildcard and " fche at redhat dot com
@ 2008-07-30 15:22 ` fche at redhat dot com
  2008-08-11 20:50 ` dsmith at redhat dot com
  2008-08-12 14:46 ` dsmith at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2008-07-30 15:22 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-07-30 15:20 -------
For purposes of this, it would be sufficient to have two
extensions:

- process("*") syntax
  that maps to the task_finder's unrestricted pathname/pid

- target-process syntax
  that maps to another task_finder option that restricts its
  monitoring to the target() (stap -c/-x) hierarchy

Maybe these two could be the same -- i.e., if someone runs "stap -c/-x",
then process("*").foo (or simpler, process.foo) probes would automagically
be restricted to the target process hierarchy.

Finally, bug #6456 could be a followup to support finer-grained
wildcards as in process("/bin/*").


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|extend utrace probes with   |extend utrace probes with
                   |wildcard and target-process |"system-wide" and target-
                   |syntax                      |process syntax


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

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

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

* [Bug translator/6445] extend utrace probes with "system-wide" and target-process syntax
  2008-04-22 15:50 [Bug translator/6445] New: extend utrace probes with target-process syntax fche at redhat dot com
                   ` (2 preceding siblings ...)
  2008-07-30 15:22 ` [Bug translator/6445] extend utrace probes with "system-wide" " fche at redhat dot com
@ 2008-08-11 20:50 ` dsmith at redhat dot com
  2008-08-12 14:46 ` dsmith at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: dsmith at redhat dot com @ 2008-08-11 20:50 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


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

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

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

* [Bug translator/6445] extend utrace probes with "system-wide" and target-process syntax
  2008-04-22 15:50 [Bug translator/6445] New: extend utrace probes with target-process syntax fche at redhat dot com
                   ` (3 preceding siblings ...)
  2008-08-11 20:50 ` dsmith at redhat dot com
@ 2008-08-12 14:46 ` dsmith at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: dsmith at redhat dot com @ 2008-08-12 14:46 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |dsmith at redhat dot com
                   |redhat dot com              |


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

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

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

end of thread, other threads:[~2008-08-12 14:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-22 15:50 [Bug translator/6445] New: extend utrace probes with target-process syntax fche at redhat dot com
2008-04-30 21:26 ` [Bug translator/6445] " fche at redhat dot com
2008-07-19 18:24 ` [Bug translator/6445] extend utrace probes with wildcard and " fche at redhat dot com
2008-07-30 15:22 ` [Bug translator/6445] extend utrace probes with "system-wide" " fche at redhat dot com
2008-08-11 20:50 ` dsmith at redhat dot com
2008-08-12 14:46 ` dsmith 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).