]> sourceware.org Git - systemtap.git/commit
2005-07-08 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Fri, 8 Jul 2005 19:23:33 +0000 (19:23 +0000)
committerhunt <hunt>
Fri, 8 Jul 2005 19:23:33 +0000 (19:23 +0000)
commitd533bbb2258a1cb094eb950ff25ee985d5f11715
tree8d9ef12b6024601c6afa3bf2cacaa4152d9af573
parent85365d1b9cfd2d75cb847be4ced3de583f91865b
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.
runtime/stpd/ChangeLog
runtime/stpd/librelay.c
runtime/stpd/stpd.c
This page took 0.029027 seconds and 5 git commands to generate.