summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun.h
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/staprun.h
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/staprun.h')
-rw-r--r--runtime/staprun/staprun.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/staprun/staprun.h b/runtime/staprun/staprun.h
index 84cf63fc..f49cc7db 100644
--- a/runtime/staprun/staprun.h
+++ b/runtime/staprun/staprun.h
@@ -90,8 +90,9 @@ extern char *__name__;
/* Grabbed from linux/module.h kernel include. */
#define MODULE_NAME_LEN (64 - sizeof(unsigned long))
-/* we define this so we are compatible with old transport, but we don't have to use it. */
-#define STP_OLD_TRANSPORT
+/* We define this so we are compatible with old transport, but we
+ * don't have to use it. */
+#define STP_TRANSPORT_VERSION 1
#include "../transport/transport_msgs.h"
#define RELAYFS_MAGIC 0xF0B4A981