/* This call, if successful, populates the id of the output object. */
ret = lttng_snapshot_add_output(current_session_name, output);
if (ret < 0) {
/* This call, if successful, populates the id of the output object. */
ret = lttng_snapshot_add_output(current_session_name, output);
if (ret < 0) {