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-220-ge6460e9
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 4 Apr 2011 16:30:59 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.4-220-ge6460e9
- 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 e6460e9558f6bc0c77c2578722c9a83849baa2e1 (commit)
from bf8e91d010e33a460d178b287caf483ed33b07b7 (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 e6460e9558f6bc0c77c2578722c9a83849baa2e1
Author: David Smith <dsmith@redhat.com>
Date: Mon Apr 4 11:30:26 2011 -0500
Handle logfile paths that end in '|', treat it as a command to read data from.
* pcp/src/pmdas/logger/util.c: New file.
* pcp/src/pmdas/logger/util.h: Ditto.
* pcp/src/pmdas/logger/event.c (event_init): Handle opening pipe "paths".
(event_shutdown): New function that stops piped processes and closes all
files.
* pcp/src/pmdas/logger/event.h: Added event_shutdown() prototype.
* pcp/src/pmdas/logger/logger.c (read_config): Moved lstrip/rstrip code to
util.c.
(main): Calls event_shutdown() after pmdaMain() returns to clean
everything up.
* pcp/src/pmdas/logger/GNUmakefile.in: Added util.c and util.h.
* pcp/src/pmdas/logger/Install: Support entering pipe "paths".
-----------------------------------------------------------------------
Summary of changes:
pcp/src/pmdas/logger/GNUmakefile.in | 5 +-
pcp/src/pmdas/logger/Install | 17 +++--
pcp/src/pmdas/logger/event.c | 71 +++++++++++++---
pcp/src/pmdas/logger/event.h | 1 +
pcp/src/pmdas/logger/logger.c | 37 +++-----
pcp/src/pmdas/logger/util.c | 157 +++++++++++++++++++++++++++++++++
pcp/src/pmdas/logger/{pmns => util.h} | 17 ++--
7 files changed, 255 insertions(+), 50 deletions(-)
create mode 100644 pcp/src/pmdas/logger/util.c
copy pcp/src/pmdas/logger/{pmns => util.h} (77%)
hooks/post-receive
--
systemtap: system-wide probe/trace tool