diff options
author | hunt <hunt> | 2007-04-02 17:03:26 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-04-02 17:03:26 +0000 |
commit | 81406e9df9fe0b6f52fce796f070c4419bdf7986 (patch) | |
tree | 3e7852c9791351045aeb5bcd300e3952e94bf7d5 /runtime/transport/transport_msgs.h | |
parent | b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7 (diff) | |
download | systemtap-steved-81406e9df9fe0b6f52fce796f070c4419bdf7986.tar.gz systemtap-steved-81406e9df9fe0b6f52fce796f070c4419bdf7986.tar.xz systemtap-steved-81406e9df9fe0b6f52fce796f070c4419bdf7986.zip |
2007-04-02 Martin Hunt <hunt@redhat.com>
* transport_msgs.h (struct _stp_msg_trans): Deleted.
Transport parameters are now read from procfs.
* transport.c (_stp_ask_for_symbols): STP_TRANSPORT
message is empty.
* procfs.c (_stp_ctl_open_cmd): New. Set _stp_ pid.
(_stp_ctl_close_cmd): New. Unset _stp_pid.
(_stp_proc_fops_cmd): Add pointers to above funcs.
(_stp_ctl_read_bufsize): New.
(_stp_register_ctl_channel): Create a proc read entry
"bufsize" containing transport buffer sizes.
Diffstat (limited to 'runtime/transport/transport_msgs.h')
-rw-r--r-- | runtime/transport/transport_msgs.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/runtime/transport/transport_msgs.h b/runtime/transport/transport_msgs.h index be1a2914..dbbee41d 100644 --- a/runtime/transport/transport_msgs.h +++ b/runtime/transport/transport_msgs.h @@ -57,16 +57,6 @@ struct _stp_msg_start int32_t res; // for reply: result of probe_start() }; -/* transport information. sent to staprun */ -struct _stp_msg_trans -{ - int32_t bulk_mode; - - /* old relayfs uses these */ - uint32_t subbuf_size; - uint32_t n_subbufs; -}; - #ifdef STP_OLD_TRANSPORT /**** for compatibility with old relayfs ****/ struct _stp_buf_info |