Move kprobes, uprobes, kretprobes, syscall structures to internal header
[lttng-modules.git] / src / lttng-context-migratable.c
index 19190bb9d158d5f48fea7990f4e92f23ffa93952..82401138c8e2999942983b956990a9a79a5c65d0 100644 (file)
 #include <linux/sched.h>
 #include <linux/irqflags.h>
 #include <lttng/events.h>
+#include <lttng/events-internal.h>
 #include <ringbuffer/frontend_types.h>
 #include <wrapper/vmalloc.h>
 #include <lttng/tracer.h>
 
 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;
 
@@ -27,7 +28,7 @@ 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,
+void migratable_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
                struct lib_ring_buffer_ctx *ctx,
                struct lttng_channel *chan)
 {
@@ -39,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;
This page took 0.024692 seconds and 4 git commands to generate.