Implement cpu_id context for filtering
[lttng-ust.git] / liblttng-ust / lttng-context.c
index 6cab7dc1721a57dbbd004cd84f5db4deed32072b..199ec5d578f739c8ae108a16f0c89791e1636ec0 100644 (file)
@@ -236,6 +236,10 @@ void lttng_context_init(void)
        if (ret) {
                WARN("Cannot add context lttng_add_procname_to_ctx");
        }
+       ret = lttng_add_cpu_id_to_ctx(&lttng_static_ctx);
+       if (ret) {
+               WARN("Cannot add context lttng_add_cpu_id_to_ctx");
+       }
 }
 
 void lttng_context_exit(void)
This page took 0.024294 seconds and 4 git commands to generate.