diff options
author | hunt <hunt> | 2005-08-19 11:11:51 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-08-19 11:11:51 +0000 |
commit | 709a1d41d95438df305fa220cc32610f1bb6ea8e (patch) | |
tree | 5163f8b18b96c9163162c5e05ec85fc0aa0374e8 /runtime/print.c | |
parent | 65c919e2bd80361d6cf23f385f367c2a9689311f (diff) | |
download | systemtap-steved-709a1d41d95438df305fa220cc32610f1bb6ea8e.tar.gz systemtap-steved-709a1d41d95438df305fa220cc32610f1bb6ea8e.tar.xz systemtap-steved-709a1d41d95438df305fa220cc32610f1bb6ea8e.zip |
2005-08-19 Martin Hunt <hunt@redhat.com>
* print.c: Change ifdefs to STP_RELAYFS.
* runtime.h: Ditto.
* io.c (_stp_vlog): Call _stp_write instead of
_stp_ctrl_send.
* Makefile: Don't build stp-control.
* README.doc: Update.
* TODO: Update.
Diffstat (limited to 'runtime/print.c')
-rw-r--r-- | runtime/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/print.c b/runtime/print.c index 2e3d539c..794cd273 100644 --- a/runtime/print.c +++ b/runtime/print.c @@ -25,7 +25,7 @@ static int _stp_pbuf_len[NR_CPUS]; -#ifdef STP_NETLINK_ONLY +#ifndef STP_RELAYFS #define STP_PRINT_BUF_START 0 /** Size of buffer, not including terminating NULL */ @@ -58,7 +58,7 @@ void _stp_print_flush (void) *buf = 0; } -#else /* ! STP_NETLINK_ONLY */ +#else /* STP_RELAYFS */ /* size of timestamp, in bytes, including space */ #define TIMESTAMP_SIZE 11 @@ -102,7 +102,7 @@ void _stp_print_flush (void) _stp_pbuf_len[cpu] = 0; *ptr = 0; } -#endif /* STP_NETLINK_ONLY */ +#endif /* STP_RELAYFS */ /** Print into the print buffer. * Like printf, except output goes to the print buffer. |