X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-context-hostname.c;h=8956e540e1c8a0a01255c61d88203b9727ed9092;hb=4071a6283f2291a5894dc6b46608721fc6a56239;hp=df46293b0bf860914cc92717aed22f8e2d793723;hpb=ea2d95e474476e28aca898d29f7564db4e4eb283;p=lttng-modules.git diff --git a/src/lttng-context-hostname.c b/src/lttng-context-hostname.c index df46293b..8956e540 100644 --- a/src/lttng-context-hostname.c +++ b/src/lttng-context-hostname.c @@ -20,7 +20,7 @@ #define LTTNG_HOSTNAME_CTX_LEN (__NEW_UTS_LEN + 1) static -size_t hostname_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t offset) +size_t hostname_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset) { size_t size = 0; @@ -29,9 +29,9 @@ size_t hostname_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t o } static -void hostname_record(void *priv, struct lttng_probe_ctx *probe_ctx, - struct lib_ring_buffer_ctx *ctx, - struct lttng_channel *chan) +void hostname_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, + struct lttng_kernel_ring_buffer_ctx *ctx, + struct lttng_kernel_channel_buffer *chan) { struct nsproxy *nsproxy; struct uts_namespace *ns; @@ -55,7 +55,7 @@ void hostname_record(void *priv, struct lttng_probe_ctx *probe_ctx, static void hostname_get_value(void *priv, - struct lttng_probe_ctx *lttng_probe_ctx, + struct lttng_kernel_probe_ctx *lttng_probe_ctx, struct lttng_ctx_value *value) { struct nsproxy *nsproxy;