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-vtid.c
diff --git
a/liblttng-ust/lttng-context-vtid.c
b/liblttng-ust/lttng-context-vtid.c
index f6dd1c7125bee93e9c5e3b6c552873240cd77c97..297d8025a552726a286bcff18d442c004afd0dbc 100644
(file)
--- a/
liblttng-ust/lttng-context-vtid.c
+++ b/
liblttng-ust/lttng-context-vtid.c
@@
-66,8
+66,7
@@
void vtid_record(struct lttng_ust_ctx_field *field,
{
pid_t vtid = wrapper_getvtid();
- lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(vtid));
- chan->ops->event_write(ctx, &vtid, sizeof(vtid));
+ chan->ops->event_write(ctx, &vtid, sizeof(vtid), lttng_ust_rb_alignof(vtid));
}
static
This page took
0.065592 seconds
and
4
git commands to generate.