This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src/runtime/stpd ChangeLog librelay.c stpd.c
- From: hunt at sourceware dot org
- To: systemtap-cvs at sources dot redhat dot com
- Date: 8 Jul 2005 19:23:33 -0000
- Subject: src/runtime/stpd ChangeLog librelay.c stpd.c
CVSROOT: /cvs/systemtap
Module name: src
Changes by: hunt@sourceware.org 2005-07-08 19:23:33
Modified files:
runtime/stpd : ChangeLog librelay.c stpd.c
Log message:
2005-07-08 Martin Hunt <hunt@redhat.com>
* librelay.c (sigchld): Signal handler to detect
completion of module loading.
(init_stp): Use fork/exec instead of system() so
we can get async signal of module load success/failure.
(cleanup_and_exit): New function.
(sigproc): If module is not loaded, don't send message to it.
(stp_main_loop): Call cleanup_and_exit() when STP_EXIT
is received. Don't send a request for the transport
mode. The module will send notification to the daemon
when it is ready.
* stpd.c (main): Don't print message until module
is loaded.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/stpd/ChangeLog.diff?cvsroot=systemtap&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/stpd/librelay.c.diff?cvsroot=systemtap&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/runtime/stpd/stpd.c.diff?cvsroot=systemtap&r1=1.4&r2=1.5