X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Fust-app.h;h=bcde8bc9cd326e4b5de5a025c58dd130ccff43b8;hp=76b81b29a1eb5a2560fe2e05148d601dc0788a3d;hb=b551a063b85ebdf0accaf2bbe06d0231a7b50f23;hpb=874d3f847b8053e38a50321b17abce4248ce6e53 diff --git a/lttng-sessiond/ust-app.h b/lttng-sessiond/ust-app.h index 76b81b29a..bcde8bc9c 100644 --- a/lttng-sessiond/ust-app.h +++ b/lttng-sessiond/ust-app.h @@ -24,6 +24,8 @@ #include "trace-ust.h" +#define UST_APP_EVENT_LIST_SIZE 32 + /* * Application registration data structure. */ @@ -108,6 +110,7 @@ int ust_app_add_event_all(struct ltt_ust_session *usess, unsigned long ust_app_list_count(void); int ust_app_start_trace(struct ltt_ust_session *usess, struct ust_app *app); int ust_app_start_trace_all(struct ltt_ust_session *usess); +int ust_app_list_events(struct lttng_event **events); void ust_app_global_update(struct ltt_ust_session *usess, int sock); void ust_app_clean_list(void); @@ -128,6 +131,11 @@ int ust_app_start_trace_all(struct ltt_ust_session *usess) return 0; } static inline +int ust_app_list_events(struct lttng_event **events) +{ + return 0; +} +static inline int ust_app_register(struct ust_register_msg *msg, int sock) { return -ENOSYS;