X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-context-user-ns.c;h=b497754b9ef13ac10cf8637b36d1ae3aef258259;hb=f7d06400be7d046205c20277a03f3f31bf5b1703;hp=f774d9716487f23c22c56621a7c1065c60ecf77b;hpb=2dc781e02eb156a76554ada092a181ab2916db57;p=lttng-modules.git diff --git a/src/lttng-context-user-ns.c b/src/lttng-context-user-ns.c index f774d971..b497754b 100644 --- a/src/lttng-context-user-ns.c +++ b/src/lttng-context-user-ns.c @@ -24,7 +24,7 @@ (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) static -size_t user_ns_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t offset) +size_t user_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset) { size_t size = 0; @@ -34,9 +34,9 @@ size_t user_ns_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t of } static -void user_ns_record(void *priv, struct lttng_probe_ctx *probe_ctx, - struct lib_ring_buffer_ctx *ctx, - struct lttng_channel *chan) +void user_ns_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, + struct lttng_kernel_ring_buffer_ctx *ctx, + struct lttng_kernel_channel_buffer *chan) { unsigned int user_ns_inum = 0; @@ -49,7 +49,7 @@ void user_ns_record(void *priv, struct lttng_probe_ctx *probe_ctx, static void user_ns_get_value(void *priv, - struct lttng_probe_ctx *lttng_probe_ctx, + struct lttng_kernel_probe_ctx *lttng_probe_ctx, struct lttng_ctx_value *value) { unsigned int user_ns_inum = 0;