X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flttng-context-migratable.c;h=e2f6bfd97b0816ccc196e4ff07f9b51004ad7190;hb=737afda6fdb357a8fbbf0a7172c06ab3a597bba6;hp=449f7dba7af42ac8225594c0a2b46fff45e0e07a;hpb=0fe45627bdbdb4e81c042bc9b784e4b47abfa4b6;p=lttng-modules.git diff --git a/src/lttng-context-migratable.c b/src/lttng-context-migratable.c index 449f7dba..e2f6bfd9 100644 --- a/src/lttng-context-migratable.c +++ b/src/lttng-context-migratable.c @@ -18,7 +18,7 @@ #include static -size_t migratable_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t offset) +size_t migratable_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset) { size_t size = 0; @@ -28,9 +28,9 @@ size_t migratable_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t } static -void migratable_record(void *priv, struct lttng_probe_ctx *probe_ctx, - struct lib_ring_buffer_ctx *ctx, - struct lttng_channel *chan) +void migratable_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, + struct lttng_kernel_ring_buffer_ctx *ctx, + struct lttng_kernel_channel_buffer *chan) { uint8_t migratable = !current->migrate_disable; @@ -40,7 +40,7 @@ void migratable_record(void *priv, struct lttng_probe_ctx *probe_ctx, static void migratable_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 = !current->migrate_disable;