projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print an error message when a session fails to load
[lttng-tools.git]
/
src
/
common
/
config
/
config.c
diff --git
a/src/common/config/config.c
b/src/common/config/config.c
index df6f6a3f496b3ad3093065fa77df79e8e7632e8e..b8a32e6e1f803218e0ba1f0aea10668d865a7dde 100644
(file)
--- a/
src/common/config/config.c
+++ b/
src/common/config/config.c
@@
-2305,6
+2305,11
@@
domain_init_error:
}
}
end:
+ if (ret < 0) {
+ ERR("Failed to load session %s: %s", name, lttng_strerror(ret));
+ lttng_destroy_session(name);
+ }
+
free(kernel_domain);
free(ust_domain);
free(jul_domain);
This page took
0.027232 seconds
and
4
git commands to generate.