From: David Goulet Date: Mon, 7 Nov 2011 17:07:34 +0000 (-0500) Subject: Add missing function references with no UST support X-Git-Tag: v2.0-pre15~152 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d974f19715e70847e2e04efb0d7b2167d884851d;p=lttng-tools.git Add missing function references with no UST support Signed-off-by: David Goulet --- diff --git a/lttng-sessiond/ust-app.h b/lttng-sessiond/ust-app.h index 9a30b6f8f..7d198ee3e 100644 --- a/lttng-sessiond/ust-app.h +++ b/lttng-sessiond/ust-app.h @@ -115,6 +115,11 @@ struct ust_app *ust_app_find_by_pid(pid_t pid); #else /* HAVE_LIBLTTNG_UST_CTL */ +static inline +int ust_app_start_trace(struct ltt_ust_session *usess) +{ + return -ENOSYS; +} static inline int ust_app_register(struct ust_register_msg *msg, int sock) { @@ -129,7 +134,6 @@ unsigned int ust_app_list_count(void) { return 0; } - static inline void ust_app_lock_list(void) { @@ -152,13 +156,27 @@ struct ust_app *ust_app_get_by_pid(pid_t pid) { return NULL; } - static inline int ust_app_add_channel(struct ltt_ust_session *usess, struct ltt_ust_channel *uchan) { return 0; } +static inline +int ust_app_add_event(struct ltt_ust_session *usess, + struct ltt_ust_channel *uchan, struct ltt_ust_event *uevent) +{ + return -ENOSYS; +} +static inline +struct cds_lfht *ust_app_get_ht(void) +{ + return NULL; +} +static inline +void ust_app_ht_alloc(void) +{ +} #endif /* HAVE_LIBLTTNG_UST_CTL */