diff options
author | trz <trz> | 2005-10-05 20:19:50 +0000 |
---|---|---|
committer | trz <trz> | 2005-10-05 20:19:50 +0000 |
commit | 16d8de1b4b18b1655ef17d1ef0c0ea8e96d2aea2 (patch) | |
tree | e30bd39ad605b35e444516bb7cada110000344c7 /runtime | |
parent | e8fbc5e8b71db38b83a215498ab34936689c3175 (diff) | |
download | systemtap-steved-16d8de1b4b18b1655ef17d1ef0c0ea8e96d2aea2.tar.gz systemtap-steved-16d8de1b4b18b1655ef17d1ef0c0ea8e96d2aea2.tar.xz systemtap-steved-16d8de1b4b18b1655ef17d1ef0c0ea8e96d2aea2.zip |
stap command-line option additions: -b (bulk mode), -s (buffer size)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/transport/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/transport/transport.c | 4 | ||||
-rw-r--r-- | runtime/transport/transport.h | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/runtime/transport/ChangeLog b/runtime/transport/ChangeLog index a604c568..1c94b0e4 100644 --- a/runtime/transport/ChangeLog +++ b/runtime/transport/ChangeLog @@ -1,3 +1,8 @@ +2005-10-05 Tom Zanussi <zanussi@us.ibm.com> + + * transport.c (_stp_transport_open): Add kbug message. + * transport.h: Change default n_subbufs to 16. + 2005-09-08 Martin Hunt <hunt@redhat.com> * procfs.c (_stp_register_procfs): Change ifdefs to eliminate diff --git a/runtime/transport/transport.c b/runtime/transport/transport.c index fdd91078..e8d2112d 100644 --- a/runtime/transport/transport.c +++ b/runtime/transport/transport.c @@ -175,7 +175,7 @@ void _stp_transport_close() int _stp_transport_open(struct transport_info *info) { - kbug ("stp_transport_open: %d byte buffer. target=%d\n", info->buf_size, info->target); + kbug ("stp_transport_open: %d Mb buffer. target=%d\n", info->buf_size, info->target); info->transport_mode = _stp_transport_mode; kbug("transport_mode=%d\n", info->transport_mode); @@ -196,6 +196,8 @@ int _stp_transport_open(struct transport_info *info) _stp_unregister_procfs(); return -ENOMEM; } + kbug ("stp_transport_open: %u Mb buffers, subbuf_size=%u, n_subbufs=%u\n", + info->buf_size, subbuf_size, n_subbufs); } else #endif { diff --git a/runtime/transport/transport.h b/runtime/transport/transport.h index 78221c39..e5e087a2 100644 --- a/runtime/transport/transport.h +++ b/runtime/transport/transport.h @@ -13,7 +13,7 @@ void _stp_warn (const char *fmt, ...); #define STP_BUFFER_SIZE 8192 #ifdef STP_RELAYFS -static unsigned n_subbufs = 4; +static unsigned n_subbufs = 16; static unsigned subbuf_size = 65536; #define _stp_transport_write(data, len) _stp_relay_write(data, len) static int _stp_transport_mode = STP_TRANSPORT_RELAYFS; |