X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-context-time-ns.c;h=4f532b486d787f4f28f656fbe021b32e93b85405;hb=b2e37d27accf5e32128b82392dbe1a9522c7dc20;hp=78423298909b0041386484fc4062275d4ca2678f;hpb=f3b06377a014332947b20cc4c266369ea85ddcfa;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-context-time-ns.c b/src/lib/lttng-ust/lttng-context-time-ns.c index 78423298..4f532b48 100644 --- a/src/lib/lttng-ust/lttng-context-time-ns.c +++ b/src/lib/lttng-ust/lttng-context-time-ns.c @@ -90,6 +90,7 @@ void lttng_context_time_ns_reset(void) static size_t time_ns_get_size(void *priv __attribute__((unused)), + struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)), size_t offset) { size_t size = 0; @@ -101,8 +102,9 @@ size_t time_ns_get_size(void *priv __attribute__((unused)), static void time_ns_record(void *priv __attribute__((unused)), - struct lttng_ust_ring_buffer_ctx *ctx, - struct lttng_ust_channel_buffer *chan) + struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)), + struct lttng_ust_ring_buffer_ctx *ctx, + struct lttng_ust_channel_buffer *chan) { ino_t time_ns; @@ -112,9 +114,10 @@ void time_ns_record(void *priv __attribute__((unused)), static void time_ns_get_value(void *priv __attribute__((unused)), + struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)), struct lttng_ust_ctx_value *value) { - value->u.s64 = get_time_ns(); + value->u.u64 = get_time_ns(); } static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field(