projects
/
deliverable
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add userspace time namespace context
[deliverable/lttng-ust.git]
/
liblttng-ust
/
lttng-context.c
diff --git
a/liblttng-ust/lttng-context.c
b/liblttng-ust/lttng-context.c
index 5637028bed1bdd35d38715ad68afc33673652c50..fc564b6aa5745bd1fbacb75118fd5619b3077ecf 100644
(file)
--- a/
liblttng-ust/lttng-context.c
+++ b/
liblttng-ust/lttng-context.c
@@
-454,6
+454,11
@@
int lttng_session_context_init(struct lttng_ctx **ctx)
WARN("Cannot add context lttng_add_pid_ns_to_ctx");
goto error;
}
WARN("Cannot add context lttng_add_pid_ns_to_ctx");
goto error;
}
+ ret = lttng_add_time_ns_to_ctx(ctx);
+ if (ret) {
+ WARN("Cannot add context lttng_add_time_ns_to_ctx");
+ goto error;
+ }
ret = lttng_add_user_ns_to_ctx(ctx);
if (ret) {
WARN("Cannot add context lttng_add_user_ns_to_ctx");
ret = lttng_add_user_ns_to_ctx(ctx);
if (ret) {
WARN("Cannot add context lttng_add_user_ns_to_ctx");
This page took
0.029377 seconds
and
5
git commands to generate.