projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clarify error message on "add context" failure
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
trace-ust.c
diff --git
a/src/bin/lttng-sessiond/trace-ust.c
b/src/bin/lttng-sessiond/trace-ust.c
index 1ddd597cf5647082a6eba147c32adab2cbb2aaa6..4d39e213326b6ce903e459b6bb243d807051696a 100644
(file)
--- a/
src/bin/lttng-sessiond/trace-ust.c
+++ b/
src/bin/lttng-sessiond/trace-ust.c
@@
-547,7
+547,6
@@
int trace_ust_context_type_event_to_ust(enum lttng_event_context_type type)
}
break;
default:
- ERR("Invalid UST context");
utype = -1;
break;
}
@@
-607,6
+606,7
@@
struct ltt_ust_context *trace_ust_create_context(
utype = trace_ust_context_type_event_to_ust(ctx->ctx);
if (utype < 0) {
+ ERR("Invalid UST context");
return NULL;
}
This page took
0.024546 seconds
and
4
git commands to generate.