summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/stpd.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-07-08 19:23:33 +0000
committerhunt <hunt>2005-07-08 19:23:33 +0000
commitd533bbb2258a1cb094eb950ff25ee985d5f11715 (patch)
tree8d9ef12b6024601c6afa3bf2cacaa4152d9af573 /runtime/stpd/stpd.c
parent85365d1b9cfd2d75cb847be4ced3de583f91865b (diff)
downloadsystemtap-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/stpd/stpd.c')
-rw-r--r--runtime/stpd/stpd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/stpd/stpd.c b/runtime/stpd/stpd.c
index 8fb1700e..149d43e2 100644
--- a/runtime/stpd/stpd.c
+++ b/runtime/stpd/stpd.c
@@ -86,11 +86,6 @@ int main(int argc, char **argv)
exit(1);
}
- if (quiet)
- printf("Logging... Press Control-C to stop.\n");
- else
- printf("Press Control-C to stop.\n");
-
if (stp_main_loop()) {
printf("Couldn't enter main loop. Exiting.\n");
exit(1);