projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: MI: close domain when listing multiple agent domains
[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 18ae026c29e9eeb77010b8d1a1cb15cd4327e2d6..bc59e626f08fe998cd8f2e7e20749092f6cdde36 100644
(file)
--- a/
src/bin/lttng/commands/list.c
+++ b/
src/bin/lttng/commands/list.c
@@
-1855,7
+1855,8
@@
int cmd_list(int argc, const char **argv)
if (ret) {
goto end;
}
- continue;
+
+ goto next_domain;
}
switch (domains[i].type) {
@@
-1875,6
+1876,7
@@
int cmd_list(int argc, const char **argv)
goto end;
}
+next_domain:
if (lttng_opt_mi) {
/* Close domain element */
ret = mi_lttng_writer_close_element(writer);
This page took
0.02379 seconds
and
4
git commands to generate.