From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 754 invoked by alias); 8 Feb 2011 23:06:55 -0000 Received: (qmail 685 invoked by uid 9586); 8 Feb 2011 23:06:53 -0000 Date: Tue, 08 Feb 2011 23:06:00 -0000 Message-ID: <20110208230653.674.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, jistone/remote, updated. release-1.4-57-g0d70f9d X-Git-Refname: refs/heads/jistone/remote X-Git-Reftype: branch X-Git-Oldrev: f7470174cbaa50758a38c8cb9f5c13847b17254e X-Git-Newrev: 0d70f9d8eacf4e6967fed19099a20509ce9f2071 Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2011-q1/txt/msg00074.txt.bz2 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, jistone/remote has been updated via 0d70f9d8eacf4e6967fed19099a20509ce9f2071 (commit) via 504d2b61306d133bfde0dcfee542eb48479b6851 (commit) via 4c156a0e285d3853ccd514484b73fce6153081ba (commit) via 90cbace96a53f23c56d9efcb69df71c881b20088 (commit) via abc15290045656053b649d3b6d57ad6a4220a07a (commit) via a7dbd06e0a2686e5e69dab85fee56ad39cb9a22e (commit) via ab6d14de7a80e10998e0761f5fa8147b909aaaae (commit) via 8eac5c31de45a7929156f249f9d75ec5b11fefcb (commit) via 3e1ec88435073dc824b9d2dbcab01dbbc43c21a0 (commit) via 8ca9631d2c2e2ebeb1d8f9dc040437bdde4fdf23 (commit) via 8481d13a1284efcb3794f48cbbd43dd777846eb2 (commit) via c2807b0b96ffa680e1db3b0d69530eb2fbf0c823 (commit) via 6ef331c81e3daa8a62cd581b15bd60b906cc7fac (commit) via 80f2faf4a800abc8cebd7fdddb998e7168a182cf (commit) via f03689129db28b8477530c1a3214f43ab2fb3925 (commit) via e4c086bd63e8b46451299507dae405b8c13813ee (commit) via 44edbcd6f7f59a79ef71fa2110fd278b7008bb58 (commit) via c578b8592ba5dd65995062243406d380987650af (commit) via 79bc39ab0d920fe1199124cef80979abf7204a82 (commit) via 802cd1044c6abf4f4b4e06fb5c5204033fd6b929 (commit) via 55b377f45509f7364e7678b37cbbcac086f5a987 (commit) via 4b128546ae4c65b56615aba180a52cefc509a217 (commit) via 2e3739d2d8b728145afcbbf9c527e7d383f43922 (commit) via c1863f2c7be024ee5acb87ae0e5e834183a90b8e (commit) via ce286ff0ae2fcc34a94e045cb965c88e2ef0983b (commit) via d389518f344079ae356bc365d69fef1a1cc52030 (commit) via 6f9c31d23de32a0b0a275e9fdd0ad1a48cbaf223 (commit) via 1916e8381d5c7d6a06d6b19abeca32ad2f1cef78 (commit) via 6307b8419e46a6d78a0d23ff30b978c420fa9e3e (commit) via df7f3a01ca2cd04d803fd127b48cc1f87e203ca5 (commit) via ac8a78aa6627faeffbeab7b47424ff7780fb502f (commit) via 4e3b15e62ac8e2a61ad09a42c711a8ba7ad71354 (commit) via dafe728e4dbcb9a8a53fcc5c22ddd2c538ce7b42 (commit) via 5d8a0aeabbbf3d2e4d0a6c51e6ca9b6d9446c8a0 (commit) via b30b7ed14e6734e0b5b216729aad0e465412c4b1 (commit) from f7470174cbaa50758a38c8cb9f5c13847b17254e (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 0d70f9d8eacf4e6967fed19099a20509ce9f2071 Author: Josh Stone Date: Tue Feb 8 15:06:25 2011 -0800 Fix the indentation of systemtap_session::usage commit 504d2b61306d133bfde0dcfee542eb48479b6851 Author: Josh Stone Date: Tue Feb 8 15:06:25 2011 -0800 Clean up exit paths We need to strive not to leave files/processes around, so exit() calls are reduced to only places where nothings been allocated yet. Errors are rarely so fatal to require immediate exit. commit 4c156a0e285d3853ccd514484b73fce6153081ba Author: Josh Stone Date: Tue Feb 8 15:06:25 2011 -0800 Use a ControlMaster for ssh remotes We can start the ssh remote with a ControlMaster connection, using a unique socket in the tmpdir, and then each subsequent remote command can reuse that connection. * remote.cxx (ssh_remote::open_control_master): Connect to the remote host with a ControlPath that later commands can reuse. The relevant options are saved in member ssh_opts. (ssh_remote::close_control_master): Ask the control process to exit. (ssh_remote::get_uname, ::start, ::finish): Start using ssh_opts, so the ControlPath is always specified. commit 90cbace96a53f23c56d9efcb69df71c881b20088 Author: Josh Stone Date: Tue Feb 8 15:06:25 2011 -0800 Precreate the main tmpdir Create the primary temp dir early on, so we have a place to store temporary data for remotes (like control socket paths). * main.cxx (main): Create the tmpdir before remotes are started. (create_temp_dir, remove_temp_dir): Tolerate repeat calls. commit abc15290045656053b649d3b6d57ad6a4220a07a Author: Josh Stone Date: Tue Feb 8 15:06:25 2011 -0800 Use a proper session copier when cloning * session.cxx (systemtap_session): Define copy and assignment constructors without implementation, to avoid implicit behavior. Add a new copy constructor with a new kernel/arch. (systemtap_session::clone): Use the new copier. ----------------------------------------------------------------------- Summary of changes: Makefile.am | 2 +- Makefile.in | 14 +- NEWS | 7 + README.unprivileged | 284 +++++++++++++++++ buildrun.cxx | 51 +++- config.in | 6 + configure | 60 ++++- configure.ac | 13 +- coveragedb.cxx | 2 +- csclient.cxx | 19 +- grapher/grapher.cxx | 2 + includes/sys/sdt.h | 57 +++-- main.cxx | 243 +++++++++++----- remote.cxx | 146 ++++++--- rpm_finder.cxx | 19 ++ runtime/staprun/common.c | 1 + runtime/staprun/mainloop.c | 2 + session.cxx | 451 +++++++++++++++++++--------- session.h | 37 +++- stap-report | 4 +- stap-server.8.in => stap-server.8 | 72 ++--- stap.1 | 43 +++- stapprobes.3stap | 9 +- staptree.cxx | 11 + systemtap.spec | 1 + tapset/aux_syscalls.stp | 2 + tapset/scheduler.stp | 25 +- tapset/target_set.stp | 6 +- tapsets.cxx | 133 +++++++-- testsuite/lib/systemtap.exp | 22 +- testsuite/parseko/cmdline22.stp | 16 + testsuite/systemtap.base/labels.exp | 2 +- testsuite/systemtap.base/sdt_asm.stp | 62 +++-- testsuite/systemtap.base/sdt_misc.exp | 28 ++- testsuite/systemtap.base/sdt_types.c | 48 ++-- testsuite/systemtap.printf/int1.exp | 14 +- testsuite/systemtap.printf/int1.stp | 12 + testsuite/systemtap.stress/conversions.exp | 3 +- translate.cxx | 2 + util.cxx | 2 +- 40 files changed, 1470 insertions(+), 463 deletions(-) create mode 100644 README.unprivileged rename stap-server.8.in => stap-server.8 (91%) create mode 100755 testsuite/parseko/cmdline22.stp hooks/post-receive -- systemtap: system-wide probe/trace tool