summaryrefslogtreecommitdiffstats
path: root/runtime/transport/utt.c
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-02-24 11:54:16 -0600
committerDavid Smith <dsmith@redhat.com>2009-02-24 11:54:16 -0600
commit23c1c6557af76d506a28bcb3e864d3500e6dc565 (patch)
tree582ccd45b08f0d897daf8cea0e9e140227fc6470 /runtime/transport/utt.c
parentcfba34fccd99924a47622c5082706867f0a34b12 (diff)
downloadsystemtap-steved-23c1c6557af76d506a28bcb3e864d3500e6dc565.tar.gz
systemtap-steved-23c1c6557af76d506a28bcb3e864d3500e6dc565.tar.xz
systemtap-steved-23c1c6557af76d506a28bcb3e864d3500e6dc565.zip
Major hacking to minimal config.
2009-02-24 David Smith <dsmith@redhat.com> * print.h: New file. * print.c: Includes new print.h file. * print_new.c (stp_print_flush): Commented out some code that needs replacing. * sym.c: Includes sym.h. * transport/debugfs.c: Includes transport.h. * transport/relayfs.c: Updated _stp_get_root_dir() call. * transport/transport.c: Ifdef'ed out most setup. * transport/transport.h: Ifdef'ed out all but basics. * transport/utt.c (utt_create_tree): Updated _stp_get_root_dir() call. * transport/utt.h: Commented out 'rchan' in struct utt_trace. (utt_reserve): Ifdef'ed out guts.
Diffstat (limited to 'runtime/transport/utt.c')
-rw-r--r--runtime/transport/utt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/transport/utt.c b/runtime/transport/utt.c
index 915662b2..2dd303a5 100644
--- a/runtime/transport/utt.c
+++ b/runtime/transport/utt.c
@@ -26,7 +26,6 @@
#include <linux/percpu.h>
#include <linux/init.h>
#include <linux/debugfs.h>
-#include <linux/relay.h>
#include <linux/mm.h>
#include "utt.h"
@@ -157,7 +156,7 @@ static struct dentry *utt_create_tree(struct utt_trace *utt, const char *root, c
return NULL;
if (!utt->utt_tree_root) {
- utt->utt_tree_root = _stp_get_root_dir(root);
+ utt->utt_tree_root = _stp_get_root_dir();
if (!utt->utt_tree_root)
goto err;
}
@@ -169,7 +168,6 @@ err:
return dir;
}
-
static void utt_trace_cleanup(struct utt_trace *utt)
{
if (utt == NULL)