Implement cpu_id context for filtering
[lttng-modules.git] / lttng-context.c
index d8ce9770b82e8dd104bb48daafbf8e6a7549b6bb..eca58ce1873b3ab18c25001ac362a086dda6ecbd 100644 (file)
@@ -264,6 +264,10 @@ int lttng_context_init(void)
        if (ret) {
                printk(KERN_WARNING "Cannot add context lttng_add_vpid_to_ctx");
        }
+       ret = lttng_add_cpu_id_to_ctx(&lttng_static_ctx);
+       if (ret) {
+               printk(KERN_WARNING "Cannot add context lttng_add_cpu_id_to_ctx");
+       }
        /* TODO: perf counters for filtering */
        return 0;
 }
This page took 0.023011 seconds and 4 git commands to generate.