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.8-142-g5ec722e
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 4 Aug 2012 21:15:23 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-142-g5ec722e
- 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 5ec722e14fb5d7f46c973adcdf8484165a97228a (commit)
via e2d0f787a648eefe4e5a152058f92c3f3274242e (commit)
via 0d98c8da13afc3e8345f6c62f7d848bdefe4dc71 (commit)
from 49cb388809e44c017c2d7ade826ceaca38391a7f (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 5ec722e14fb5d7f46c973adcdf8484165a97228a
Author: Josh Stone <jistone@redhat.com>
Date: Sat Aug 4 14:12:33 2012 -0700
Don't print usage text on stap option errors
The help text is so long that it tends to push the actual error message
off the screen. Instead, just print a suggestion to consult --help.
commit e2d0f787a648eefe4e5a152058f92c3f3274242e
Author: Josh Stone <jistone@redhat.com>
Date: Sat Aug 4 13:40:27 2012 -0700
PR14432: Convert stap exit() calls to exceptions
We need the opportunity to clean up after ourselves, for example
removing any temporary directories created. Calling exit() bypasses our
usual exception/RAII-based cleanups, so don't do that.
* session.h (exit_exception): New, an exception with a custom exit code.
* main.cxx (main): We can simply return here. Also catch exit_exception.
* session.cxx (systemtap_session::usage): Throw an exit_exception.
(systemtap_session::parse_cmdline): Ditto.
* util.cxx (assert_regexp_match): A runtime_error makes more sense here.
commit 0d98c8da13afc3e8345f6c62f7d848bdefe4dc71
Author: Josh Stone <jistone@redhat.com>
Date: Sat Aug 4 13:37:48 2012 -0700
DRY: get NLS definitions in session.h from util.h
-----------------------------------------------------------------------
Summary of changes:
main.cxx | 14 +++++++++-----
session.cxx | 25 ++++++++++++++++++-------
session.h | 22 +++++++++-------------
util.cxx | 8 +++-----
4 files changed, 39 insertions(+), 30 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool