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-67-gb63fab8
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 11 Feb 2011 01:11:48 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.4-67-gb63fab8
- 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 b63fab8739c5c6d6a83c5225682fb64cebd7b208 (commit)
from 1544bdf963f6c48826774a6031306518342558cc (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 b63fab8739c5c6d6a83c5225682fb64cebd7b208
Author: Josh Stone <jistone@redhat.com>
Date: Thu Feb 10 16:43:55 2011 -0800
Use posix_spawn_file_actions for stap_system_read
The file actions can handle the dup2 necessary to hook a pipe onto the
child's stdout. It could do the necessary closing too, but we'll just
use FD_CLOEXEC for that.
* util.cxx (stap_spawn): Take file_actions for the posix_spawn.
(pipe_child_fd): New, open a pipe and set the dup2 action for it.
(stap_system_read): Let stap_spawn and pipe_child_fd do the hard part.
-----------------------------------------------------------------------
Summary of changes:
util.cxx | 82 +++++++++++++++++++++++++++++++++++++------------------------
1 files changed, 50 insertions(+), 32 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool