diff options
author | hunt <hunt> | 2005-08-01 21:39:52 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-08-01 21:39:52 +0000 |
commit | 3b971328035c179c41e6175a4feb3a5683588adf (patch) | |
tree | e9b7648e8a77561f0e9d650669e297d95ffc49fc /runtime/print.c | |
parent | 3dae777808caaa284988c961679c4450cf9a8af8 (diff) | |
download | systemtap-steved-3b971328035c179c41e6175a4feb3a5683588adf.tar.gz systemtap-steved-3b971328035c179c41e6175a4feb3a5683588adf.tar.xz systemtap-steved-3b971328035c179c41e6175a4feb3a5683588adf.zip |
2005-08-01 Martin Hunt <hunt@redhat.com>
* io.c (_stp_vlog): Use _stp_pid instead os _stp_tport->pid.
* print.c (_stp_print_flush): Don't need _stp_tport.
*runtime.h (probe_start): Just call _stp_transport_init().
(probe_exit): Just call _stp_transport_close().
Diffstat (limited to 'runtime/print.c')
-rw-r--r-- | runtime/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/print.c b/runtime/print.c index aa8a520d..f340a3a1 100644 --- a/runtime/print.c +++ b/runtime/print.c @@ -45,7 +45,7 @@ void _stp_print_flush (void) if (len == 0) return; - ret =_stp_transport_write(_stp_tport, buf, len + 1); + ret =_stp_transport_write(buf, len + 1); if (unlikely(ret < 0)) atomic_inc (&_stp_transport_failures); @@ -85,7 +85,7 @@ void _stp_print_flush (void) seq = _stp_seq_inc(); scnprintf (buf, TIMESTAMP_SIZE, "%10d", seq); buf[TIMESTAMP_SIZE - 1] = ' '; - ret = _stp_transport_write(_stp_tport, buf, _stp_pbuf_len[cpu] + TIMESTAMP_SIZE + 1); + ret = _stp_transport_write(buf, _stp_pbuf_len[cpu] + TIMESTAMP_SIZE + 1); if (unlikely(ret < 0)) atomic_inc (&_stp_transport_failures); |