From: David Goulet Date: Wed, 30 Nov 2011 22:13:39 +0000 (-0500) Subject: Fix missing declaration without UST support X-Git-Tag: v2.0-pre15~50 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=34378f76da406ecbdfdb8a0c98245666d83bc1b9;p=lttng-tools.git Fix missing declaration without UST support Signed-off-by: David Goulet --- diff --git a/lttng-sessiond/context.c b/lttng-sessiond/context.c index d6f4d2f75..a61ca8dce 100644 --- a/lttng-sessiond/context.c +++ b/lttng-sessiond/context.c @@ -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. diff --git a/lttng-sessiond/trace-ust.h b/lttng-sessiond/trace-ust.h index 18d3b5fc7..e834d2f6e 100644 --- a/lttng-sessiond/trace-ust.h +++ b/lttng-sessiond/trace-ust.h @@ -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 */