]> sourceware.org Git - systemtap.git/commitdiff
2006-09-26 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Tue, 26 Sep 2006 13:51:37 +0000 (13:51 +0000)
committerhunt <hunt>
Tue, 26 Sep 2006 13:51:37 +0000 (13:51 +0000)
* io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now
behaves the same as procfs.

runtime/ChangeLog
runtime/io.c

index 92db1160603fa4f3d2967b25e06aafa542ffc02e..402749dbffb297cc7755ff9128506eeb1e89c095 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-26  Martin Hunt  <hunt@redhat.com>
+
+       * io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now
+       behaves the same as procfs.
+
 2006-09-22  Martin Hunt  <hunt@redhat.com>
 
        * print.c: Replace STP_PRINT_BUF_LEN with STP_BUFFER_SIZE.
index b72590f3aba46f0144ccfc18c66919b78a11006a..846a83d88c0a71975ae8531aef46e832d977c806 100644 (file)
@@ -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();
 }
This page took 0.029118 seconds and 5 git commands to generate.