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-124-gb7a2e28
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 2 Mar 2011 18:13:15 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.4-124-gb7a2e28
- 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 b7a2e288f321bb0cbc41cf511746eee89a53cba4 (commit)
from 1e41115ca655e1c60f9eb8949690c9b98e9c2671 (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 b7a2e288f321bb0cbc41cf511746eee89a53cba4
Author: David Smith <dsmith@redhat.com>
Date: Wed Mar 2 12:12:13 2011 -0600
Logger PMDA can now handle multiple clients.
* pcp/src/pmdas/logger/event.c (ctx_start_callback): New function.
(ctx_end_callback): Ditto.
(event_init): Register callbacks.
(event_fetch): Call event_create to get new data.
* pcp/src/pmdas/logger/event.h: Removed event_create() prototype.
* pcp/src/pmdas/logger/logger.c (logger_end_contextCallBack): No longer
call event_cleanup(), which is now called in ctx_end_callback().
* pcp/src/pmdas/logger/logger.h: Added get_monitor_fd() prototype.
* pcp/src/pmdas/logger/loggerMain.c (get_monitor_fd): New function.
(loggerMain): Open the logfile with O_NONBLOCK. Let event_fetch() call
event_create().
* pcp/src/pmdas/logger/percontext.h: Update comment.
-----------------------------------------------------------------------
Summary of changes:
pcp/src/pmdas/logger/event.c | 51 ++++++++++++++++++++++++++++++++++--
pcp/src/pmdas/logger/event.h | 1 -
pcp/src/pmdas/logger/logger.c | 1 -
pcp/src/pmdas/logger/logger.h | 2 +
pcp/src/pmdas/logger/loggerMain.c | 24 +++++++++++------
pcp/src/pmdas/logger/percontext.h | 2 +-
6 files changed, 67 insertions(+), 14 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool