X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-context-cpu-id.c;h=24241dee7f511b5ecdd47f4b7682f4daf7e20d08;hb=f7d06400be7d046205c20277a03f3f31bf5b1703;hp=9e1d71a29725116c3f5cf4c8eeeef31587d17e6e;hpb=2dc781e02eb156a76554ada092a181ab2916db57;p=lttng-modules.git diff --git a/src/lttng-context-cpu-id.c b/src/lttng-context-cpu-id.c index 9e1d71a2..24241dee 100644 --- a/src/lttng-context-cpu-id.c +++ b/src/lttng-context-cpu-id.c @@ -17,7 +17,7 @@ #include static -size_t cpu_id_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t offset) +size_t cpu_id_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset) { size_t size = 0; @@ -27,9 +27,9 @@ size_t cpu_id_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t off } static -void cpu_id_record(void *priv, struct lttng_probe_ctx *probe_ctx, - struct lib_ring_buffer_ctx *ctx, - struct lttng_channel *chan) +void cpu_id_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, + struct lttng_kernel_ring_buffer_ctx *ctx, + struct lttng_kernel_channel_buffer *chan) { int cpu; @@ -40,7 +40,7 @@ void cpu_id_record(void *priv, struct lttng_probe_ctx *probe_ctx, static void cpu_id_get_value(void *priv, - struct lttng_probe_ctx *lttng_probe_ctx, + struct lttng_kernel_probe_ctx *lttng_probe_ctx, struct lttng_ctx_value *value) { value->u.s64 = smp_processor_id();