diff options
author | hunt <hunt> | 2005-07-08 19:23:33 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-07-08 19:23:33 +0000 |
commit | d533bbb2258a1cb094eb950ff25ee985d5f11715 (patch) | |
tree | 8d9ef12b6024601c6afa3bf2cacaa4152d9af573 /runtime/print.c | |
parent | 85365d1b9cfd2d75cb847be4ced3de583f91865b (diff) | |
download | systemtap-steved-d533bbb2258a1cb094eb950ff25ee985d5f11715.tar.gz systemtap-steved-d533bbb2258a1cb094eb950ff25ee985d5f11715.tar.xz systemtap-steved-d533bbb2258a1cb094eb950ff25ee985d5f11715.zip |
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.
Diffstat (limited to 'runtime/print.c')
0 files changed, 0 insertions, 0 deletions