This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.0-349-ga6b3c13
- From: moore at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 10 Dec 2009 20:37:02 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.0-349-ga6b3c13
- Reply-to: systemtap at sourceware dot org
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via a6b3c131a27bbf3533d7ce52bb320698edb60f9c (commit)
via 1b9fad80af5504ef03c2a88504dbc47bea003721 (commit)
via b35632fd3d2547414c80023c5c60c847e3dc92ea (commit)
via f8e5918969fb63a6148c906025e4ec1f010ca6c6 (commit)
via 3e1613e1f7ab589089e8ed5a504330bb9cb128db (commit)
from b25c01a187d636f1bd3c8c414e7dbe3e84c1b266 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a6b3c131a27bbf3533d7ce52bb320698edb60f9c
Merge: 1b9fad80af5504ef03c2a88504dbc47bea003721 b25c01a187d636f1bd3c8c414e7dbe3e84c1b266
Author: Tim Moore <timoore@redhat.com>
Date: Thu Dec 10 21:36:43 2009 +0100
Merge commit 'origin/master'
commit 1b9fad80af5504ef03c2a88504dbc47bea003721
Author: Tim Moore <timoore@redhat.com>
Date: Thu Dec 10 21:34:27 2009 +0100
grapher: integrate graph events from stdin with the stap process framework.
This was the original way to do graphing and had bitrotted some.
* grapher/StapParser.cxx (initIO): new catchHUP argument
(ioCallback): Only disconnect signals, etc. on IN_HUP if catchHUP is
true.
(errIoCallback): Write error messages to stderr, not stdout.
* grapher/grapher.cxx (StapLauncher::launch): Don't catchHUP on our
stap process children.
(ProcWindow::refresh): Display something reasonable for the stap
"process" that is feeding stdin.
(main): Use StapParser::initIO to initialize parser reading from
stdin.
commit b35632fd3d2547414c80023c5c60c847e3dc92ea
Author: Tim Moore <timoore@redhat.com>
Date: Thu Dec 10 15:11:08 2009 +0100
grapher: more implementation stap process window
The process arguments are displayed, and the "kill" button is
insensitive when a process is dead or nothing is selected.
* grapher/grapher.cxx (ProcWindow _killButton, _restartButton,
_stapArgsLabel, _scriptArgsLabel): new members
(ProcWindow::ProcWindow): hook 'em up
(ProcWindow::onSelectionChanged): Enable / disable kill button and
display process arguments.
* grapher/processwindow.glade: Replace bizzare handle window with a
horizontal pane. Tweak various widget sizes.
commit f8e5918969fb63a6148c906025e4ec1f010ca6c6
Author: Tim Moore <timoore@redhat.com>
Date: Thu Dec 10 13:13:30 2009 +0100
grapher: change SIGCHLD handling and exit cleanup
The signal handler now calls waitpid() and writes the pid and status
to its pipe.
* grapher.cxx (ChildInfo): new class
(handleChild): wait for zombies and write their status down the
pipe.
(ChildDeathReader::ioCallback): Read dead child's pid from signal
handler pipe and emit signal.
(ChildDeathReader::reap): delete
(ChildDeathReader::Callback): delete
(StapLauncher::StapLauncher): Connect to childDied signal.
(StapLauncher setWinParams, reap, cleanUp): delete
(onChildDied): new function that updates the parsers list when a
child dies.
(GrapherWindow): Remove ChildDeathReader::Callback base class
(GrapherWindow::onParserListChanged): New function; exits if program
is quitting and no parsers are left.
(on_menu_file_quit): Kill all children; don't hide (and exit) unless
there are no parsers.
(main): Don't do any cleanup after Gtk loop exits.
commit 3e1613e1f7ab589089e8ed5a504330bb9cb128db
Author: Tim Moore <timoore@redhat.com>
Date: Wed Dec 9 22:09:39 2009 +0100
show the status of stap processes in the process window
Also, the "kill" button now works.
* grapher/StapParser.hxx (_ioConnection, _errIoConnection): new
members for sigc connections.
(initIo): New function
(parsers, parserListChangedSignal): new variables
* grapher/StapParser.cxx (ioCallback): disconnect signals when child
dies
(initIo): new function
* grapher/grapher.cxx (StapLauncher): eliminate death callback in
favor of childDied signal. Use global parsers list
(ProcWindow::_listSelection): new member
(ProcWindow::show, hide, onParserListChanged, onSelectionChanged,
onKill): new functions
(ProcWindow::ProcWindow): Set up cell renderer for status icon
* grapher/processwindow.glade: labels for display script and stap arguments
-----------------------------------------------------------------------
Summary of changes:
grapher/StapParser.cxx | 349 +++++++++++++++++++++-----------------
grapher/StapParser.hxx | 11 +-
grapher/grapher.cxx | 392 +++++++++++++++++++++++++------------------
grapher/processwindow.glade | 184 +++++++++++++++------
4 files changed, 568 insertions(+), 368 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool