projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring: hide internal fields of ring buffer context
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-ip.c
diff --git
a/liblttng-ust/lttng-context-ip.c
b/liblttng-ust/lttng-context-ip.c
index 29ca29e2ce16e030136cbd39fcf60cc72aa01112..4f4ef632508542911ebbbf0b3aa7271b6ee50159 100644
(file)
--- a/
liblttng-ust/lttng-context-ip.c
+++ b/
liblttng-ust/lttng-context-ip.c
@@
-35,8
+35,7
@@
void ip_record(struct lttng_ust_ctx_field *field,
void *ip;
ip = ctx->ip;
void *ip;
ip = ctx->ip;
- lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(ip));
- chan->ops->event_write(ctx, &ip, sizeof(ip));
+ chan->ops->event_write(ctx, &ip, sizeof(ip), lttng_ust_rb_alignof(ip));
}
int lttng_add_ip_to_ctx(struct lttng_ust_ctx **ctx)
}
int lttng_add_ip_to_ctx(struct lttng_ust_ctx **ctx)
This page took
0.023777 seconds
and
4
git commands to generate.