diff options
author | hunt <hunt> | 2006-09-26 13:51:37 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-09-26 13:51:37 +0000 |
commit | b7c12ad018a468b3c68de56741aed481f5afb42a (patch) | |
tree | 1f6c6123bdb9ed6d787da79aefee4dee39fca94e /runtime/io.c | |
parent | 30e44c77c14b22ba822809c2a876a2f430f01350 (diff) | |
download | systemtap-steved-b7c12ad018a468b3c68de56741aed481f5afb42a.tar.gz systemtap-steved-b7c12ad018a468b3c68de56741aed481f5afb42a.tar.xz systemtap-steved-b7c12ad018a468b3c68de56741aed481f5afb42a.zip |
2006-09-26 Martin Hunt <hunt@redhat.com>
* io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now
behaves the same as procfs.
Diffstat (limited to 'runtime/io.c')
-rw-r--r-- | runtime/io.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/runtime/io.c b/runtime/io.c index b72590f3..846a83d8 100644 --- a/runtime/io.c +++ b/runtime/io.c @@ -56,19 +56,12 @@ static void _stp_vlog (enum code type, char *func, int line, const char *fmt, va } buf[num + start] = '\0'; -#ifdef STP_RELAYFS - if (type != DBUG) - _stp_write(STP_OOB_DATA, buf, start + num + 1); - _stp_string_cat_cstr(_stp_stdout,buf); - _stp_print_flush(); -#else if (type != DBUG) _stp_write(STP_OOB_DATA, buf, start + num + 1); else { _stp_string_cat_cstr(_stp_stdout,buf); _stp_print_flush(); } -#endif } put_cpu(); } |