X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-ip.c;fp=liblttng-ust%2Flttng-context-ip.c;h=29ca29e2ce16e030136cbd39fcf60cc72aa01112;hb=dc325c1d762bbbdc1866e590f4649078f8600664;hp=b75c8a0150bb90a064e08027a1e4331d523fd881;hpb=3b8bedd809f1a5b56da5fc101a90b44263b0f473;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-ip.c b/liblttng-ust/lttng-context-ip.c index b75c8a01..29ca29e2 100644 --- a/liblttng-ust/lttng-context-ip.c +++ b/liblttng-ust/lttng-context-ip.c @@ -22,7 +22,7 @@ size_t ip_get_size(struct lttng_ust_ctx_field *field, size_t offset) { size_t size = 0; - size += lttng_ust_lib_ring_buffer_align(offset, lttng_alignof(void *)); + size += lttng_ust_lib_ring_buffer_align(offset, lttng_ust_rb_alignof(void *)); size += sizeof(void *); return size; } @@ -35,7 +35,7 @@ void ip_record(struct lttng_ust_ctx_field *field, void *ip; ip = ctx->ip; - lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_alignof(ip)); + lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(ip)); chan->ops->event_write(ctx, &ip, sizeof(ip)); } @@ -46,7 +46,7 @@ int lttng_add_ip_to_ctx(struct lttng_ust_ctx **ctx) int ret; type = lttng_ust_create_type_integer(sizeof(void *) * CHAR_BIT, - lttng_alignof(void *) * CHAR_BIT, + lttng_ust_rb_alignof(void *) * CHAR_BIT, lttng_ust_is_signed_type(void *), BYTE_ORDER, 16); if (!type)