summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun_funcs.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2008-04-21 16:50:52 -0400
committerMartin Hunt <hunt@redhat.com>2008-04-21 16:50:52 -0400
commitb197bf0b2a6267b73edcdbf68c73d259bf6a6e6a (patch)
tree0daf7bc638ce8f095cbb2251726e71cb52c1fdc3 /runtime/staprun/staprun_funcs.c
parent159cb10989a9d6c1d28fc5d1fa5506a75046a9f7 (diff)
downloadsystemtap-steved-b197bf0b2a6267b73edcdbf68c73d259bf6a6e6a.tar.gz
systemtap-steved-b197bf0b2a6267b73edcdbf68c73d259bf6a6e6a.tar.xz
systemtap-steved-b197bf0b2a6267b73edcdbf68c73d259bf6a6e6a.zip
Change staprun to exec stapio. Add "-d" option to staprun.
Diffstat (limited to 'runtime/staprun/staprun_funcs.c')
-rw-r--r--runtime/staprun/staprun_funcs.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c
index b95a9a5a..c1cb92b7 100644
--- a/runtime/staprun/staprun_funcs.c
+++ b/runtime/staprun/staprun_funcs.c
@@ -16,18 +16,6 @@
#include <grp.h>
#include <pwd.h>
-void setup_staprun_signals(void)
-{
- struct sigaction a;
- memset(&a, 0, sizeof(a));
- sigfillset(&a.sa_mask);
- a.sa_handler = SIG_IGN;
- sigaction(SIGINT, &a, NULL);
- sigaction(SIGTERM, &a, NULL);
- sigaction(SIGHUP, &a, NULL);
- sigaction(SIGQUIT, &a, NULL);
-}
-
extern long init_module(void *, unsigned long, const char *);
/* Module errors get translated. */