Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
&latest_sample.key,
&iter);
node = cds_lfht_iter_get_node(&iter);
&latest_sample.key,
&iter);
node = cds_lfht_iter_get_node(&iter);
+ if (caa_unlikely(!node)) {
/*
* Not an error since the consumer can push a sample to the pipe
* and the rest of the session daemon could notify us of the
/*
* Not an error since the consumer can push a sample to the pipe
* and the rest of the session daemon could notify us of the
&latest_sample.key,
&iter);
node = cds_lfht_iter_get_node(&iter);
&latest_sample.key,
&iter);
node = cds_lfht_iter_get_node(&iter);
+ if (caa_likely(node)) {
struct channel_state_sample *stored_sample;
/* Update the sample stored. */
struct channel_state_sample *stored_sample;
/* Update the sample stored. */
&latest_sample.key,
&iter);
node = cds_lfht_iter_get_node(&iter);
&latest_sample.key,
&iter);
node = cds_lfht_iter_get_node(&iter);
+ if (caa_likely(!node)) {
channel_info->session_info->uid,
channel_info->session_info->gid);
lttng_evaluation_destroy(evaluation);
channel_info->session_info->uid,
channel_info->session_info->gid);
lttng_evaluation_destroy(evaluation);
+ if (caa_unlikely(ret)) {