Refactor JUL to agent namespace
[lttng-tools.git] / src / bin / lttng-sessiond / trace-ust.c
index 96225a21b4846e974ffb1f900c054202759e3b5a..9c22e38901144a00041d6176d5d5ef887777e5e2 100644 (file)
@@ -242,7 +242,7 @@ struct ltt_ust_session *trace_ust_create_session(uint64_t session_id)
 
        /* Alloc UST global domain channels' HT */
        lus->domain_global.channels = lttng_ht_new(0, LTTNG_HT_TYPE_STRING);
-       ret = jul_init_domain(&lus->domain_jul);
+       ret = agent_init(&lus->agent);
        if (ret < 0) {
                goto error_consumer;
        }
@@ -266,7 +266,7 @@ struct ltt_ust_session *trace_ust_create_session(uint64_t session_id)
 
 error_consumer:
        ht_cleanup_push(lus->domain_global.channels);
-       jul_destroy_domain(&lus->domain_jul);
+       agent_destroy(&lus->agent);
        free(lus);
 error:
        return NULL;
@@ -720,7 +720,7 @@ void trace_ust_destroy_session(struct ltt_ust_session *session)
 
        /* Cleaning up UST domain */
        destroy_domain_global(&session->domain_global);
-       jul_destroy_domain(&session->domain_jul);
+       agent_destroy(&session->agent);
 
        /* Cleanup UID buffer registry object(s). */
        cds_list_for_each_entry_safe(reg, sreg, &session->buffer_reg_uid_list,
This page took 0.027055 seconds and 5 git commands to generate.