This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]