Fix missing declaration without UST support
authorDavid Goulet <david.goulet@polymtl.ca>
Wed, 30 Nov 2011 22:13:39 +0000 (17:13 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Wed, 30 Nov 2011 22:13:39 +0000 (17:13 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/context.c
lttng-sessiond/trace-ust.h

index d6f4d2f75d4208c2ccde0a9ac5fdc774f00ec447..a61ca8dcea2ad4ab36ab7f3dbe70223493352513 100644 (file)
@@ -29,6 +29,7 @@
 #include "hashtable.h"
 #include "kernel.h"
 #include "ust-app.h"
+#include "trace-ust.h"
 
 /*
  * Add kernel context to an event of a specific channel.
index 18d3b5fc75e8586c0ca217d550db3592f3d2f6fb..e834d2f6e1d0c1391922b7a2c6552953cab552f8 100644 (file)
@@ -201,6 +201,12 @@ static inline
 void trace_ust_destroy_event(struct ltt_ust_event *event)
 {
 }
+static inline
+struct ltt_ust_context *trace_ust_create_context(
+               struct lttng_event_context *ctx)
+{
+       return NULL;
+}
 
 #endif /* HAVE_LIBLTTNG_UST_CTL */
 
This page took 0.025359 seconds and 4 git commands to generate.