Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
// ustctx, ustchan->obj, &context_data);
if (ret < 0) {
ret = LTTCOMM_UST_CONTEXT_FAIL;
// ustctx, ustchan->obj, &context_data);
if (ret < 0) {
ret = LTTCOMM_UST_CONTEXT_FAIL;
goto error;
}
} else {
ret = add_ustctx_to_event(ustsession, ustctx, ustchan, event_name);
if (ret < 0) {
ret = LTTCOMM_UST_CONTEXT_FAIL;
goto error;
}
} else {
ret = add_ustctx_to_event(ustsession, ustctx, ustchan, event_name);
if (ret < 0) {
ret = LTTCOMM_UST_CONTEXT_FAIL;
goto error;
} else if (ret == 1) {
/* Event found and context added */
goto error;
} else if (ret == 1) {
/* Event found and context added */
}
hashtable_get_next(channels, &iter);
}
}
hashtable_get_next(channels, &iter);
}
if (!found && !no_event) {
ret = LTTCOMM_NO_EVENT;
goto error;
}
if (!found && !no_event) {
ret = LTTCOMM_NO_EVENT;
goto error;
}
return ret;
#endif
return 0;
return ret;
#endif
return 0;