summaryrefslogtreecommitdiffstats
path: root/runtime/transport/utt.h
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.h
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.h')
-rw-r--r--runtime/transport/utt.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/transport/utt.h b/runtime/transport/utt.h
index 40e54919..0a0944c0 100644
--- a/runtime/transport/utt.h
+++ b/runtime/transport/utt.h
@@ -9,11 +9,11 @@ enum {
struct utt_trace {
int trace_state;
- struct rchan *rchan;
+// struct rchan *rchan;
struct dentry *dir; /* systemtap/module_name */
struct dentry *dropped_file;
atomic_t dropped;
- struct dentry *utt_tree_root; /* systemtap */
+ struct dentry *utt_tree_root; /* systemtap */
void *private_data;
atomic_t wakeup;
struct timer_list timer;
@@ -41,6 +41,7 @@ struct utt_trace_setup {
static struct utt_trace *utt_trace_setup(struct utt_trace_setup *utts);
+
static int utt_trace_startstop(struct utt_trace *utt, int start,
unsigned int *trace_seq);
static void utt_trace_cleanup(struct utt_trace *utt);
@@ -60,6 +61,7 @@ static size_t utt_switch_subbuf(struct utt_trace *utt, struct rchan_buf *buf,
*/
static inline void *utt_reserve(struct utt_trace *utt, size_t length)
{
+#if 0
void *reserved;
struct rchan_buf *buf = utt->rchan->buf[smp_processor_id()];
@@ -72,6 +74,9 @@ static inline void *utt_reserve(struct utt_trace *utt, size_t length)
buf->offset += length;
return reserved;
+#else
+ return NULL;
+#endif
}
#endif