projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python-plugin-provider: Make it build
[babeltrace.git]
/
cli
/
babeltrace-cfg-cli-args.c
diff --git
a/cli/babeltrace-cfg-cli-args.c
b/cli/babeltrace-cfg-cli-args.c
index 159421650e5550f195f0520c3f73b374d217c6a7..dfce55bdec8a41698ac5b252df32f67d35e3e6ad 100644
(file)
--- a/
cli/babeltrace-cfg-cli-args.c
+++ b/
cli/babeltrace-cfg-cli-args.c
@@
-3223,11
+3223,17
@@
int bt_value_to_cli_param_value_append(const bt_value *value, GString *buf)
g_string_append_c(buf, '[');
uint64_t sz = bt_value_array_get_size(value);
for (uint64_t i = 0; i < sz; i++) {
g_string_append_c(buf, '[');
uint64_t sz = bt_value_array_get_size(value);
for (uint64_t i = 0; i < sz; i++) {
+ const bt_value *item;
+ int ret;
+
if (i > 0) {
if (i > 0) {
- g_string_append
_c(buf, ','
);
+ g_string_append
(buf, ", "
);
}
}
- const bt_value *item = bt_value_array_borrow_element_by_index_const(value, i);
- int ret = bt_value_to_cli_param_value_append(item, buf);
+
+ item = bt_value_array_borrow_element_by_index_const(
+ value, i);
+ ret = bt_value_to_cli_param_value_append(item, buf);
+
if (ret) {
goto end;
}
if (ret) {
goto end;
}
@@
-4521,6
+4527,13
@@
struct bt_config *bt_config_convert_from_args(int argc, const char *argv[],
if (ret) {
goto error;
}
if (ret) {
goto error;
}
+
+ ret = append_implicit_component_extra_param(
+ &implicit_lttng_live_args,
+ "session-not-found-action", "end");
+ if (ret) {
+ goto error;
+ }
} else {
/*
* Create one source.ctf.fs component, pass it an array
} else {
/*
* Create one source.ctf.fs component, pass it an array
This page took
0.024614 seconds
and
4
git commands to generate.