X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fsession.h;fp=ltt-sessiond%2Fsession.h;h=1e274b41103f4f278954beab41d357191db367f0;hp=25ac3fb90e002b284703fde6a7120640c9117aac;hb=f3ed775ef4842019b396f06095b053c3a70bc3c8;hpb=d686b40f66ea5df5ac0b9405991bbc33348b0a88 diff --git a/ltt-sessiond/session.h b/ltt-sessiond/session.h index 25ac3fb90..1e274b411 100644 --- a/ltt-sessiond/session.h +++ b/ltt-sessiond/session.h @@ -36,6 +36,7 @@ extern struct ltt_session_list ltt_session_list; struct ltt_session { struct cds_list_head list; char *name; + char *path; uuid_t uuid; struct cds_list_head ust_traces; struct ltt_kernel_session *kernel_session; @@ -45,8 +46,8 @@ struct ltt_session { }; /* Prototypes */ -int create_session(char *name, uuid_t *session_id); -int destroy_session(uuid_t *uuid); +int create_session(char *name, char *path); +int destroy_session(char *name); void get_lttng_session(struct lttng_session *sessions); struct ltt_session *find_session_by_uuid(uuid_t session_id); struct ltt_session *find_session_by_name(char *name);