Refactoring: type description structures
[lttng-modules.git] / src / lttng-context-migratable.c
index 797f8ecaf01f059a44292dcc8c65fd42096fae4d..210c6d3059d604e05c7e57f770694590851350ca 100644 (file)
@@ -27,7 +27,7 @@ size_t migratable_get_size(size_t offset)
 }
 
 static
-void migratable_record(struct lttng_ctx_field *field,
+void migratable_record(struct lttng_kernel_ctx_field *field,
                struct lib_ring_buffer_ctx *ctx,
                struct lttng_channel *chan)
 {
@@ -38,16 +38,16 @@ void migratable_record(struct lttng_ctx_field *field,
 }
 
 static
-void migratable_get_value(struct lttng_ctx_field *field,
+void migratable_get_value(struct lttng_kernel_ctx_field *field,
                struct lttng_probe_ctx *lttng_probe_ctx,
                union lttng_ctx_value *value)
 {
        value->s64 = !current->migrate_disable;
 }
 
-int lttng_add_migratable_to_ctx(struct lttng_ctx **ctx)
+int lttng_add_migratable_to_ctx(struct lttng_kernel_ctx **ctx)
 {
-       struct lttng_ctx_field *field;
+       struct lttng_kernel_ctx_field *field;
 
        field = lttng_append_context(ctx);
        if (!field)
This page took 0.022879 seconds and 4 git commands to generate.