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.4-313-g7a3225e
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 11 May 2011 03:06:03 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.4-313-g7a3225e
- 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 7a3225e95655dbc0c78b35ad93de0bfde401b448 (commit)
via b30895fac94372b6625f9bb0ffb965dbfda0ec9a (commit)
via 26f1e9535283543ca4231204f78324c5c57b277c (commit)
via a69b4b55ca447dccbf8593bbdc7b6056b9a39828 (commit)
via 2bce499b40a80d6b9b629f89d277f8cc5cb0f7bd (commit)
via 10a5bce50484244d112c65d27d78b7beac6c0e62 (commit)
via 58502ae448f74d82f5df3875bb35913fef9363b7 (commit)
via 92c6375c50d56c9ca3cc2f336a5f286e259a6037 (commit)
from 183ac07b8f695213528e10279c5435bfd3c20908 (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 7a3225e95655dbc0c78b35ad93de0bfde401b448
Author: Josh Stone <jistone@redhat.com>
Date: Tue May 10 20:01:01 2011 -0700
remote: Add tests for manually-specified hosts
To run a basic test on hosts foo and bar, use:
make installcheck RUNTESTFLAGS=remote.exp TESTREMOTES=foo,bar
* testsuite/systemtap.base/remote.exp: New test of --remote hosts.
* testsuite/systemtap.base/remote.stp: New.
* testsuite/Makefile.am: Add TESTREMOTES control of remote.exp.
* testsuite/Makefile.in: Regenerate.
commit b30895fac94372b6625f9bb0ffb965dbfda0ec9a
Author: Josh Stone <jistone@redhat.com>
Date: Tue May 10 17:33:59 2011 -0700
Create a signal-safe type for tracking spawned pids
* util.cxx (spawned_pids_t): New type which wraps a set<pid_t>, masking
signals on each access to ensure consistency in and out of the signal
handler. The spawned_pids global is the only instance.
(stap_waitpid): Use !contains(pid) rather than count(pid)==0.
(kill_stap_spawn): Use spawned_pids_t::killall().
commit 26f1e9535283543ca4231204f78324c5c57b277c
Author: Josh Stone <jistone@redhat.com>
Date: Tue May 10 17:30:27 2011 -0700
Mask signals while removing the tmpdir
* main.cxx (remove_temp_dir): Rather than ignoring signals while we rm,
just use stap_sigmasker so we can get missed signals when we're done.
commit a69b4b55ca447dccbf8593bbdc7b6056b9a39828
Author: Josh Stone <jistone@redhat.com>
Date: Tue May 10 17:25:47 2011 -0700
Consolidate signal-masking into a utility class
* util.h (stap_sigmasker): New, masks our usual signals for the life of
the stap_sigmasker object.
* remote.cxx (direct_stapsh::direct_stapsh): Use stap_sigmasker while
spawning the stapsh child process.
(ssh_remote::connect): Ditto for the ssh process.
(remote::run): Use stap_sigmasker around the polling loop.
commit 2bce499b40a80d6b9b629f89d277f8cc5cb0f7bd
Author: Josh Stone <jistone@redhat.com>
Date: Tue May 10 16:45:54 2011 -0700
remote: Disambiguate the private target names
It's conceivable, however unlikely, that a user may have an actual host
named "direct" or "stapsh", which would conflict with our internal
methods if used as a --remote. Such a user could say "ssh://direct" to
be explicit, but we can also hide ours a little better. Those internal
names are now tested as proper URI schemes, e.g. "direct:...", so they
should never conflict with a user's legitimate target.
* remote.cxx (remote::create): Test for "direct" and "stapsh" only as
the scheme of a decoded URI.
* main.cxx (main): Use "direct:" for non-remote use.
* testsuite/systemtap.base/stapsh.exp: Use "stapsh:" for testing.
commit 10a5bce50484244d112c65d27d78b7beac6c0e62
Author: Josh Stone <jistone@redhat.com>
Date: Tue May 10 16:38:08 2011 -0700
Make sure remote children are waited for
* remote.cxx (ssh_remote::~ssh_remote): Call finish on destruction.
(direct_stapsh::~direct_stapsh): Ditto.
(direct::~direct): Ditto.
commit 58502ae448f74d82f5df3875bb35913fef9363b7
Author: Josh Stone <jistone@redhat.com>
Date: Tue May 10 15:03:02 2011 -0700
PR12749: Replace popen calls with stap_spawn_piped
The new form has the advantages that child processes are managed by
signals to stap, and that arguments are provided in a vector so they
don't need to be escaped.
* dwflpp.cxx (dwflpp::iterate_over_libraries): Convert popen call to
stap_spawn_piped, followed by fdopen so the same FILE* operations are
still supported. Finish with fclose+stap_waitpid instead of pclose.
* tapsets.cxx (symbol_table::read_from_elf_file): Ditto.
commit 92c6375c50d56c9ca3cc2f336a5f286e259a6037
Author: Josh Stone <jistone@redhat.com>
Date: Tue May 10 15:00:58 2011 -0700
Remove the unused git_revision()
The use of this function had been commented out for some time now, and
it contained an unescaped call to popen. Rather than trying to fix dead
code, just remove it altogether.
-----------------------------------------------------------------------
Summary of changes:
dwflpp.cxx | 30 ++++++++----
hash.cxx | 7 ---
main.cxx | 10 +---
remote.cxx | 91 +++++++++++++---------------------
tapsets.cxx | 16 ++++--
testsuite/Makefile.am | 2 +-
testsuite/Makefile.in | 2 +-
testsuite/systemtap.base/remote.exp | 86 +++++++++++++++++++++++++++++++++
testsuite/systemtap.base/remote.stp | 8 +++
testsuite/systemtap.base/stapsh.exp | 2 +-
util.cxx | 74 +++++++++++++----------------
util.h | 24 ++++++++-
12 files changed, 222 insertions(+), 130 deletions(-)
create mode 100644 testsuite/systemtap.base/remote.exp
create mode 100644 testsuite/systemtap.base/remote.stp
hooks/post-receive
--
systemtap: system-wide probe/trace tool