goto end;
}
- /* Live timer interval in usec*/
+ /* Live timer interval in usec */
ret = mi_lttng_writer_write_element_unsigned_int(
writer, config_element_live_timer_interval, attr->live_timer_interval);
if (ret) {
}
/* Special case for PERF_*_COUNTER
- * print the lttng_event_perf_counter_ctx*/
+ * print the lttng_event_perf_counter_ctx */
switch (context->ctx) {
case LTTNG_EVENT_CONTEXT_PERF_COUNTER:
case LTTNG_EVENT_CONTEXT_PERF_THREAD_COUNTER:
goto end;
}
- /* Destination of the output (ctrl_url)*/
+ /* Destination of the output (ctrl_url) */
ret = mi_lttng_writer_write_element_string(
writer, mi_lttng_element_snapshot_ctrl_url, output->ctrl_url);
if (ret) {
}
}
- /* Snapshot was deleted for session "current_session_name"*/
+ /* Snapshot was deleted for session "current_session_name" */
ret = mi_lttng_writer_write_element_string(
writer, mi_lttng_element_snapshot_session_name, current_session_name);
if (ret) {
goto end;
}
- /* Destination of the output (ctrl_url)*/
+ /* Destination of the output (ctrl_url) */
ret = mi_lttng_writer_write_element_string(
writer, mi_lttng_element_snapshot_ctrl_url, output->ctrl_url);
if (ret) {
goto end;
}
- /* Snapshot added for session "current_session_name"*/
+ /* Snapshot added for session "current_session_name" */
ret = mi_lttng_writer_write_element_string(
writer, mi_lttng_element_snapshot_session_name, current_session_name);
if (ret) {
/*
* If a valid an URL was given, serialize it,
- * else take the command line data and ctrl urls*/
+ * else take the command line data and ctrl urls */
if (url) {
- /* Destination of the output (ctrl_url)*/
+ /* Destination of the output (ctrl_url) */
ret = mi_lttng_writer_write_element_string(
writer, mi_lttng_element_snapshot_ctrl_url, url);
if (ret) {
goto end;
}
} else if (cmdline_ctrl_url) {
- /* Destination of the output (ctrl_url)*/
+ /* Destination of the output (ctrl_url) */
ret = mi_lttng_writer_write_element_string(
writer, mi_lttng_element_snapshot_ctrl_url, cmdline_ctrl_url);
if (ret) {