Add Python agent support
[lttng-tools.git] / src / bin / lttng-sessiond / agent.c
index b267503fcbcec3e58890fda360c507496645afe6..5cb8336c361d4377973b365608ec603597564afe 100644 (file)
@@ -539,6 +539,8 @@ int agent_list_events(struct lttng_event **events,
 
        assert(events);
 
+       DBG2("Agent listing events for domain %d", domain);
+
        nbmem = UST_APP_EVENT_LIST_SIZE;
        tmp_events = zmalloc(nbmem * sizeof(*tmp_events));
        if (!tmp_events) {
@@ -769,6 +771,7 @@ struct agent *agent_create(enum lttng_domain_type domain)
        ret = agent_init(agt);
        if (ret < 0) {
                free(agt);
+               agt = NULL;
                goto error;
        }
 
This page took 0.024701 seconds and 5 git commands to generate.