diff options
author | hunt <hunt> | 2007-04-02 17:03:57 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-04-02 17:03:57 +0000 |
commit | da5bc00621edbd01f290b8f779b075d3048c99a0 (patch) | |
tree | d982f578f7a116e98512a9cde171c808b3fe2d5d /runtime/staprun/staprun.h | |
parent | 81406e9df9fe0b6f52fce796f070c4419bdf7986 (diff) | |
download | systemtap-steved-da5bc00621edbd01f290b8f779b075d3048c99a0.tar.gz systemtap-steved-da5bc00621edbd01f290b8f779b075d3048c99a0.tar.xz systemtap-steved-da5bc00621edbd01f290b8f779b075d3048c99a0.zip |
2007-04-02 Martin Hunt <hunt@redhat.com>
* relay_old.c (close_oldrelayfs): If just detaching, call
pthread_cancel.
(open_relayfs_files): Just return 0 if relay_fd[cpu] not opened.
(init_oldrelayfs): Scan percpu files to calculate ncpus.
* mainloop.c (init_staprun): Call old transport init when necessary.
(cleanup_and_exit): Ignore signals when cleaning up.
* ctl.c (read_buffer_info): For old transport, need to read transport
parameters.
Diffstat (limited to 'runtime/staprun/staprun.h')
-rw-r--r-- | runtime/staprun/staprun.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/staprun/staprun.h b/runtime/staprun/staprun.h index 36fbd940..c3599de6 100644 --- a/runtime/staprun/staprun.h +++ b/runtime/staprun/staprun.h @@ -68,7 +68,7 @@ void close_ctl_channel(void); int init_relayfs(void); void close_relayfs(void); int init_oldrelayfs(void); -void close_oldrelayfs(void); +void close_oldrelayfs(int); /* * variables @@ -97,3 +97,7 @@ extern gid_t cmd_gid; /* relay*.c uses these */ extern int out_fd[NR_CPUS]; + +/* relay_old uses these. Set in ctl.c */ +extern unsigned subbuf_size; +extern unsigned n_subbufs; |