X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flttng-context-time-ns.c;h=e6300b5243eed293dcbe8590db6e05e69276b6c2;hb=05ea3e19cf2412478353ce80052183c19bbde7c9;hp=355feb163cc048f6963dfc4fb771c243d45afc9c;hpb=ea2d95e474476e28aca898d29f7564db4e4eb283;p=lttng-modules.git diff --git a/src/lttng-context-time-ns.c b/src/lttng-context-time-ns.c index 355feb16..e6300b52 100644 --- a/src/lttng-context-time-ns.c +++ b/src/lttng-context-time-ns.c @@ -24,7 +24,7 @@ #if defined(CONFIG_TIME_NS) static -size_t time_ns_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t offset) +size_t time_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset) { size_t size = 0; @@ -34,8 +34,8 @@ size_t time_ns_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t of } static -void time_ns_record(void *priv, struct lttng_probe_ctx *probe_ctx, - struct lib_ring_buffer_ctx *ctx, +void time_ns_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, + struct lttng_kernel_ring_buffer_ctx *ctx, struct lttng_channel *chan) { unsigned int time_ns_inum = 0; @@ -56,7 +56,7 @@ void time_ns_record(void *priv, struct lttng_probe_ctx *probe_ctx, static void time_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 time_ns_inum = 0;