projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement userspace probe location extraction and registration
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
list.c
diff --git
a/src/bin/lttng/commands/list.c
b/src/bin/lttng/commands/list.c
index a4ee96e9e0f2b1843a9696f28e8f822cb84c0b51..4a94690b038b4ca20fe9839a01c51637bc457ceb 100644
(file)
--- a/
src/bin/lttng/commands/list.c
+++ b/
src/bin/lttng/commands/list.c
@@
-343,6
+343,8
@@
static void print_events(struct lttng_event *event)
safe_string(filter_msg));
break;
case LTTNG_EVENT_ALL:
safe_string(filter_msg));
break;
case LTTNG_EVENT_ALL:
+ /* Fall-through. */
+ default:
/* We should never have "all" events in list. */
assert(0);
break;
/* We should never have "all" events in list. */
assert(0);
break;
@@
-1536,16
+1538,6
@@
static enum cmd_error_code print_periodic_rotation_schedule(
}
MSG(" timer period: %" PRIu64" µs", value);
}
MSG(" timer period: %" PRIu64" µs", value);
- if (lttng_opt_mi) {
- int mi_ret = mi_lttng_writer_write_element_unsigned_int(writer,
- config_element_rotation_timer_interval, value);
-
- if (mi_ret) {
- ret = CMD_ERROR;
- goto end;
- }
- }
-
ret = CMD_SUCCESS;
end:
return ret;
ret = CMD_SUCCESS;
end:
return ret;
@@
-1567,16
+1559,6
@@
static enum cmd_error_code print_size_threshold_rotation_schedule(
}
MSG(" size threshold: %" PRIu64" bytes", value);
}
MSG(" size threshold: %" PRIu64" bytes", value);
- if (lttng_opt_mi) {
- int mi_ret = mi_lttng_writer_write_element_unsigned_int(writer,
- config_element_rotation_size, value);
-
- if (mi_ret) {
- ret = CMD_ERROR;
- goto end;
- }
- }
-
ret = CMD_SUCCESS;
end:
return ret;
ret = CMD_SUCCESS;
end:
return ret;
This page took
0.025488 seconds
and
4
git commands to generate.