X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsession.h;h=3625ece6d4ce5196586c632025cc6567ab06557f;hb=bca212a28b662f1472ab2672d7de3b7c04bc952c;hp=31a40a741aee1797a20b61f345ca96d7a62181a2;hpb=ecd1a12fac39784bded85c0f06e47ace2dc98cde;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/session.h b/src/bin/lttng-sessiond/session.h index 31a40a741..3625ece6d 100644 --- a/src/bin/lttng-sessiond/session.h +++ b/src/bin/lttng-sessiond/session.h @@ -193,7 +193,7 @@ struct ltt_session { /* Prototypes */ enum lttng_error_code session_create(const char *name, uid_t uid, gid_t gid, - const char *base_path, struct ltt_session **out_session); + struct ltt_session **out_session); void session_lock(struct ltt_session *session); void session_lock_list(void); int session_trylock_list(void); @@ -251,9 +251,9 @@ int session_set_trace_chunk(struct ltt_session *session, * Close a chunk on the remote peers of a session. Has no effect on the * ltt_session itself. */ -int session_close_trace_chunk(const struct ltt_session *session, +int session_close_trace_chunk(struct ltt_session *session, struct lttng_trace_chunk *trace_chunk, - const enum lttng_trace_chunk_command_type *close_command, + enum lttng_trace_chunk_command_type close_command, char *path); bool session_output_supports_trace_chunks(const struct ltt_session *session);