Add missing function references with no UST support
authorDavid Goulet <david.goulet@polymtl.ca>
Mon, 7 Nov 2011 17:07:34 +0000 (12:07 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Mon, 7 Nov 2011 17:07:34 +0000 (12:07 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/ust-app.h

index 9a30b6f8f58cca9d5a18bf67faf0adb8f82b4363..7d198ee3ee9f138ca3121fa022861a1d26bdc980 100644 (file)
@@ -115,6 +115,11 @@ struct ust_app *ust_app_find_by_pid(pid_t pid);
 
 #else /* HAVE_LIBLTTNG_UST_CTL */
 
 
 #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)
 {
 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;
 }
 {
        return 0;
 }
-
 static inline
 void ust_app_lock_list(void)
 {
 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;
 }
 {
        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_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 */
 
 
 #endif /* HAVE_LIBLTTNG_UST_CTL */
 
This page took 0.025737 seconds and 4 git commands to generate.