int ret;
assert(channel);
+ assert(!channel->is_deleted);
channel->metadata_cache = zmalloc(
sizeof(struct consumer_metadata_cache));
struct lttng_consumer_stream *metadata_stream;
assert(channel);
+ assert(!channel->is_deleted);
assert(channel->metadata_cache);
/*
channel = si->si_value.sival_ptr;
assert(channel);
+ assert(!channel->is_deleted);
if (channel->switch_timer_error) {
return;
channel = si->si_value.sival_ptr;
assert(channel);
+ assert(!channel->is_deleted);
if (channel->switch_timer_error) {
goto error;
struct itimerspec its;
assert(channel);
+ assert(!channel->is_deleted);
assert(channel->key);
if (timer_interval_us == 0) {
int ret;
assert(channel);
+ assert(!channel->is_deleted);
assert(channel->key);
ret = consumer_channel_timer_start(&channel->switch_timer, channel,
int ret;
assert(channel);
+ assert(!channel->is_deleted);
assert(channel->key);
assert(!channel->monitor_timer_enabled);
int ret = 0;
assert(channel);
+ assert(!channel->is_deleted);
assert(ctx);
if (ctx->on_recv_channel != NULL) {
struct lttng_consumer_stream *stream = NULL;
assert(channel);
+ assert(!channel->is_deleted);
assert(ctx);
stream = consumer_stream_create(
pthread_mutex_t *current_stream_lock = NULL;
assert(channel);
+ assert(!channel->is_deleted);
assert(ctx);
/*
struct ustctl_consumer_channel *ust_channel;
assert(channel);
+ assert(!channel->is_deleted);
assert(attr);
assert(ust_chanp);
assert(channel->buffer_credentials.is_set);
uint64_t net_seq_idx = -1ULL;
assert(channel);
+ assert(!channel->is_deleted);
assert(ctx);
assert(sock >= 0);
assert(ctx);
assert(channel);
+ assert(!channel->is_deleted);
assert(attr);
/*
struct lttng_consumer_stream *stream, *stmp;
assert(channel);
+ assert(!channel->is_deleted);
assert(ctx);
/* Send streams to the corresponding thread. */
int ret;
assert(channel);
+ assert(!channel->is_deleted);
assert(channel->metadata_cache);
memset(&request, 0, sizeof(request));