X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fsession.h;h=41883c60959029dc3f466e14b4e792fcfa627faa;hp=7db95ed1d6360b477030d26209c5b518c4d90cf7;hb=f6a9efaa0fe496b7fa4850daa2eae98a240433e1;hpb=9674ce7a9c5218066b395d1f6d1f19f277849f95 diff --git a/ltt-sessiond/session.h b/ltt-sessiond/session.h index 7db95ed1d..41883c609 100644 --- a/ltt-sessiond/session.h +++ b/ltt-sessiond/session.h @@ -59,7 +59,7 @@ struct ltt_session { char name[NAME_MAX]; char path[PATH_MAX]; struct ltt_kernel_session *kernel_session; - struct ltt_ust_session_list ust_session_list; + struct ltt_ust_session *ust_session; /* * Protect any read/write on this session data structure. This lock must be * acquired *before* using any public functions declared below. Use @@ -80,5 +80,6 @@ void session_unlock_list(void); struct ltt_session *session_find_by_name(char *name); struct ltt_session_list *session_get_list(void); +unsigned long session_ust_count(struct ltt_session *session); #endif /* _LTT_SESSION_H */