summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/mainloop.c
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-04-02 10:16:35 -0500
committerDavid Smith <dsmith@redhat.com>2009-04-02 10:16:35 -0500
commit9b23198d73b782bc05dc2b834c7db3afbdefda86 (patch)
tree63ed86aec9f2ac155158accb72add6af73a416b0 /runtime/staprun/mainloop.c
parent2e07d704dc5d7304d6a9e666553a1a8ac4382730 (diff)
downloadsystemtap-steved-9b23198d73b782bc05dc2b834c7db3afbdefda86.tar.gz
systemtap-steved-9b23198d73b782bc05dc2b834c7db3afbdefda86.tar.xz
systemtap-steved-9b23198d73b782bc05dc2b834c7db3afbdefda86.zip
Renamed STP_OLD_TRANSPORT to STP_TRANSPORT_VERSION.
2009-04-02 David Smith <dsmith@redhat.com> * runtime.h: Defines STP_TRANSPORT_VERSION instead of STP_OLD_TRANSPORT. * staprun/staprun.h (STP_OLD_TRANSPORT): Ditto. * print.c: Changed STP_OLD_TRANSPORT to STP_TRANSPORT_VERSION. * staprun/mainloop.c (stp_main_loop): Ditto. * transport/transport.c: Ditto. * transport/transport.h: Ditto. * transport/transport_msgs.h: Ditto. * transport/utt.h: Ditto.
Diffstat (limited to 'runtime/staprun/mainloop.c')
-rw-r--r--runtime/staprun/mainloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/staprun/mainloop.c b/runtime/staprun/mainloop.c
index 29eb4f1f..0745f611 100644
--- a/runtime/staprun/mainloop.c
+++ b/runtime/staprun/mainloop.c
@@ -452,7 +452,7 @@ int stp_main_loop(void)
nb -= sizeof(uint32_t);
switch (type) {
-#ifdef STP_OLD_TRANSPORT
+#if STP_TRANSPORT_VERSION == 1
case STP_REALTIME_DATA:
{
ssize_t bw = write(out_fd[0], data, nb);