From: hunt Date: Tue, 26 Sep 2006 13:51:37 +0000 (+0000) Subject: 2006-09-26 Martin Hunt X-Git-Tag: release-0.5.10~47 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b7c12ad018a468b3c68de56741aed481f5afb42a;p=systemtap.git 2006-09-26 Martin Hunt * io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now behaves the same as procfs. --- diff --git a/runtime/ChangeLog b/runtime/ChangeLog index 92db11606..402749dbf 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,3 +1,8 @@ +2006-09-26 Martin Hunt + + * io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now + behaves the same as procfs. + 2006-09-22 Martin Hunt * print.c: Replace STP_PRINT_BUF_LEN with STP_BUFFER_SIZE. diff --git a/runtime/io.c b/runtime/io.c index b72590f3a..846a83d88 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(); }