Add userspace time namespace context
[lttng-ust.git] / liblttng-ust / lttng-context.c
index 5637028bed1bdd35d38715ad68afc33673652c50..fc564b6aa5745bd1fbacb75118fd5619b3077ecf 100644 (file)
@@ -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;
        }
+       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");
This page took 0.023469 seconds and 4 git commands to generate.