Refactoring: ring buffer context
[lttng-modules.git] / src / lttng-context-cpu-id.c
index 47c4aa20f5d3dfec78a3b4317780122bcbcf9f57..7ae79a64347739ada4eec1172e22963e1553ddc0 100644 (file)
@@ -33,7 +33,7 @@ void cpu_id_record(struct lttng_kernel_ctx_field *field,
 {
        int cpu;
 
-       cpu = ctx->cpu;
+       cpu = ctx->priv.reserve_cpu;
        lib_ring_buffer_align_ctx(ctx, lttng_alignof(cpu));
        chan->ops->event_write(ctx, &cpu, sizeof(cpu));
 }
This page took 0.024469 seconds and 4 git commands to generate.