Fix: ask new streams HUP
[lttng-tools.git] / src / bin / lttng-sessiond / session.c
index e7904472fb9f5f19113bef0e247160aaff999d38..452438952adb580f265e9d563d7be68d406d630b 100644 (file)
@@ -160,7 +160,7 @@ void session_unlock(struct ltt_session *session)
  * NULL is returned. This must be called with the session lock held using
  * session_lock_list and session_unlock_list.
  */
-struct ltt_session *session_find_by_name(char *name)
+struct ltt_session *session_find_by_name(const char *name)
 {
        struct ltt_session *iter;
 
@@ -195,7 +195,7 @@ int session_destroy(struct ltt_session *session)
        del_session_list(session);
        pthread_mutex_destroy(&session->lock);
 
-       consumer_destroy_output(session->consumer);
+       consumer_output_put(session->consumer);
        snapshot_destroy(&session->snapshot);
        free(session);
 
This page took 0.028546 seconds and 4 git commands to generate.