fix: global_dirty_limit was introduced in v3.1
[lttng-modules.git] / src / lttng-context.c
index 9d6b71e0fdd7304491a0c541e2b3abaa420a99aa..4b948ef8001277b53346d651ee08efc0497f8ef8 100644 (file)
@@ -342,6 +342,10 @@ int lttng_context_init(void)
        if (ret && ret != -ENOSYS) {
                printk(KERN_WARNING "Cannot add context lttng_add_uts_ns_to_ctx");
        }
+       ret = lttng_add_time_ns_to_ctx(&lttng_static_ctx);
+       if (ret && ret != -ENOSYS) {
+               printk(KERN_WARNING "Cannot add context lttng_add_time_ns_to_ctx");
+       }
        /* TODO: perf counters for filtering */
        return 0;
 }
This page took 0.023041 seconds and 4 git commands to generate.