X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-context-preemptible.c;h=ac9aab5932e49ff6c59f09799ed643043e9cb99e;hb=8a57ec025ffbe56153748fd69b60118862707182;hp=59d33fff5ad8d62105739203c004e1ec4eb72115;hpb=0fe45627bdbdb4e81c042bc9b784e4b47abfa4b6;p=lttng-modules.git diff --git a/src/lttng-context-preemptible.c b/src/lttng-context-preemptible.c index 59d33fff..ac9aab59 100644 --- a/src/lttng-context-preemptible.c +++ b/src/lttng-context-preemptible.c @@ -26,7 +26,7 @@ #define LTTNG_PREEMPT_DISABLE_NESTING 2 static -size_t preemptible_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t offset) +size_t preemptible_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset) { size_t size = 0; @@ -36,8 +36,8 @@ size_t preemptible_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_ } static -void preemptible_record(void *priv, struct lttng_probe_ctx *probe_ctx, - struct lib_ring_buffer_ctx *ctx, +void preemptible_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, + struct lttng_kernel_ring_buffer_ctx *ctx, struct lttng_channel *chan) { int pc = preempt_count(); @@ -52,7 +52,7 @@ void preemptible_record(void *priv, struct lttng_probe_ctx *probe_ctx, static void preemptible_get_value(void *priv, - struct lttng_probe_ctx *lttng_probe_ctx, + struct lttng_kernel_probe_ctx *lttng_probe_ctx, struct lttng_ctx_value *value) { int pc = preempt_count();