public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/18848] New: new --monitor option
@ 2015-08-18 13:44 fche at redhat dot com
  2015-08-18 14:39 ` [Bug runtime/18848] " dsmith at redhat dot com
  2015-09-09 18:14 ` flu at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2015-08-18 13:44 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 18848
           Summary: new --monitor option
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

As a part of the interactive-systemtap effort, we'd like to have a way of
compiling stap modules so that they can report on their own status, and give a
way to control them from the outside.

For example, a new option "stap --monitor" could emit extra code into the
module, so that:

- it presents a procfs interface by which stats like this are available:

  - module name, invoker uid, sizes (as per startup dmesg)
  - number of warnings, errors; maybe text of recent errors
  - list of global variables (incl. array sizes)
  - abbreviated list of probes (incl. hit count/times as per stap -t)

- it presents another procfs interface by which control may be exercised:

  - to disable or enable probes (as if by hidden on-the-fly control variables)
  - to reset the global variables (so as to start the script anew)
  - to exit the script

Then the stapio program can connect to those two proc interfaces, poll the
former to display, map keyboard inputs for sending to the other.  (The stap
--interactive front-end can later also do the same.)

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

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

* [Bug runtime/18848] new --monitor option
  2015-08-18 13:44 [Bug runtime/18848] New: new --monitor option fche at redhat dot com
@ 2015-08-18 14:39 ` dsmith at redhat dot com
  2015-09-09 18:14 ` flu at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2015-08-18 14:39 UTC (permalink / raw)
  To: systemtap

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

David Smith <dsmith at redhat dot com> changed:

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

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

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

* [Bug runtime/18848] new --monitor option
  2015-08-18 13:44 [Bug runtime/18848] New: new --monitor option fche at redhat dot com
  2015-08-18 14:39 ` [Bug runtime/18848] " dsmith at redhat dot com
@ 2015-09-09 18:14 ` flu at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: flu at redhat dot com @ 2015-09-09 18:14 UTC (permalink / raw)
  To: systemtap

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

Felix Lu <flu at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |flu at redhat dot com
           Assignee|systemtap at sourceware dot org    |flu at redhat dot com

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

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

end of thread, other threads:[~2015-09-09 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-18 13:44 [Bug runtime/18848] New: new --monitor option fche at redhat dot com
2015-08-18 14:39 ` [Bug runtime/18848] " dsmith at redhat dot com
2015-09-09 18:14 ` flu 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).