summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun.h
diff options
context:
space:
mode:
authorhunt <hunt>2007-03-26 16:15:11 +0000
committerhunt <hunt>2007-03-26 16:15:11 +0000
commit5d65678dde08d0b2e34ee79c2e0f6c26ff3e4592 (patch)
tree05cdd33db206b646c424dd8b207221413cbb2455 /runtime/staprun/staprun.h
parent98f0ea565abd496f7f4f065f652456101370751e (diff)
downloadsystemtap-steved-5d65678dde08d0b2e34ee79c2e0f6c26ff3e4592.tar.gz
systemtap-steved-5d65678dde08d0b2e34ee79c2e0f6c26ff3e4592.tar.xz
systemtap-steved-5d65678dde08d0b2e34ee79c2e0f6c26ff3e4592.zip
2007-03-26 Martin Hunt <hunt@redhat.com>
* mainloop.c (run_stp_check): Just use system() call. (init_staprun): Remove _stp_pid module parameter. (cleanup_and_exit): If closed==2, just exit without removing module. (driver_poll): Remove. We no longer require stap running. (_stp_main_loop): Remove call to driver_poll. * ctl.c (init_ctl_channel): Don't put files in systemtap_pid, revert back to systemtap/modulename. * relay.c: Revert back to systemtap/modulename paths. * relay_old.c: Ditto. * staprun.c: Add -L and -A args.
Diffstat (limited to 'runtime/staprun/staprun.h')
-rw-r--r--runtime/staprun/staprun.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/staprun/staprun.h b/runtime/staprun/staprun.h
index 57a78809..36fbd940 100644
--- a/runtime/staprun/staprun.h
+++ b/runtime/staprun/staprun.h
@@ -65,9 +65,9 @@ int do_module(void *);
void do_kernel_symbols(void);
int init_ctl_channel(void);
void close_ctl_channel(void);
-int init_relayfs(struct _stp_msg_trans *);
+int init_relayfs(void);
void close_relayfs(void);
-int init_oldrelayfs(struct _stp_msg_trans *);
+int init_oldrelayfs(void);
void close_oldrelayfs(void);
/*
@@ -79,13 +79,14 @@ extern int ncpus;
/* flags */
extern int verbose;
extern unsigned int buffer_size;
-extern char *modname;
+extern char modname[];
extern char *modpath;
extern char *modoptions[];
extern int target_pid;
-extern int driver_pid;
extern char *target_cmd;
extern char *outfile_name;
+extern int attach_mod;
+extern int load_only;
/* uid/gid to use when execing external programs */
extern uid_t cmd_uid;