Fix: ust_app_list_events should return -ENOSYS when no UST
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index 8e98082207a59f9f398a551aa5a7ad7041d45eba..5d8485f3b208608c9968b5fd419ecbb65606b0e8 100644 (file)
@@ -140,6 +140,7 @@ int ust_app_stop_trace_all(struct ltt_ust_session *usess);
 int ust_app_destroy_trace(struct ltt_ust_session *usess, struct ust_app *app);
 int ust_app_destroy_trace_all(struct ltt_ust_session *usess);
 int ust_app_list_events(struct lttng_event **events);
+int ust_app_list_event_fields(struct lttng_event_field **fields);
 int ust_app_create_channel_glb(struct ltt_ust_session *usess,
                struct ltt_ust_channel *uchan);
 int ust_app_create_event_glb(struct ltt_ust_session *usess,
@@ -201,7 +202,7 @@ int ust_app_stop_trace_all(struct ltt_ust_session *usess)
 static inline
 int ust_app_list_events(struct lttng_event **events)
 {
-       return 0;
+       return -ENOSYS;
 }
 static inline
 int ust_app_register(struct ust_register_msg *msg, int sock)
This page took 0.023539 seconds and 4 git commands to generate.