summaryrefslogtreecommitdiffstats
path: root/runtime/print.c
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-05-12 13:38:48 -0500
committerDavid Smith <dsmith@redhat.com>2009-05-12 13:38:48 -0500
commitdd9a3bcbef65bde65491d959e9458bc641924811 (patch)
tree56b2df83734947e903b4fb5daa009df98d9a6cdd /runtime/print.c
parent945563a795f312551157b69542ed1bc3323203c7 (diff)
downloadsystemtap-steved-dd9a3bcbef65bde65491d959e9458bc641924811.tar.gz
systemtap-steved-dd9a3bcbef65bde65491d959e9458bc641924811.tar.xz
systemtap-steved-dd9a3bcbef65bde65491d959e9458bc641924811.zip
Start at supporting the original transport (STP_TRANSPORT_VERSION=1).
* runtime/print.c: Only use print_new.c. * runtime/print_new.c (stp_print_flush): Add STP_TRANSPORT_VERSION 1 support. * runtime/transport/transport.c: Removed inclusion of procfs.c. * runtime/transport/procfs.c (_stp_proc_read): Adapt to new interface. (_stp_proc_write): Ditto. * runtime/transport/relayfs.c: Ditto.
Diffstat (limited to 'runtime/print.c')
-rw-r--r--runtime/print.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/print.c b/runtime/print.c
index 2e205f10..c1fff306 100644
--- a/runtime/print.c
+++ b/runtime/print.c
@@ -87,14 +87,8 @@ static void _stp_print_cleanup (void)
#endif
#if !defined(RELAY_GUEST)
-/* The relayfs API changed between 2.6.15 and 2.6.16. */
-/* Use the appropriate print flush function. */
-#if STP_TRANSPORT_VERSION == 1
-#include "print_old.c"
-#else
#include "print_new.c"
-#endif
#if defined(RELAY_HOST)
EXPORT_SYMBOL_GPL(EXPORT_FN(stp_print_flush));
#endif