} else {
handle->channel_monitoring_pipes.kernel_consumer = -1;
}
+
end:
return handle;
error:
notification_channel_socket_destroy(
state->notification_channel_socket);
}
+
+ assert(cds_list_empty(&state->tracer_event_sources_list));
+
if (state->executor) {
action_executor_destroy(state->executor);
}
memset(state, 0, sizeof(*state));
state->notification_channel_socket = -1;
+ state->trigger_id.next_tracer_token = 1;
lttng_poll_init(&state->events);
ret = notification_channel_socket_create();
goto error;
}
+ CDS_INIT_LIST_HEAD(&state->tracer_event_sources_list);
+
state->executor = action_executor_create(handle);
if (!state->executor) {
goto error;