sessiond: cmd_rotate_session: introduce command argument
[lttng-tools.git] / src / bin / lttng-sessiond / session.h
index 31a40a741aee1797a20b61f345ca96d7a62181a2..3625ece6d4ce5196586c632025cc6567ab06557f 100644 (file)
@@ -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);
This page took 0.023505 seconds and 4 git commands to generate.