projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Namespace 'lttng_alignof' to 'lttng_ust_rb_alignof'
[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 b70824fd13aae963f9a23edb9ec751f94f6302c7..f6dd1c7125bee93e9c5e3b6c552873240cd77c97 100644
(file)
--- a/
liblttng-ust/lttng-context-vtid.c
+++ b/
liblttng-ust/lttng-context-vtid.c
@@
-41,7
+41,7
@@
size_t vtid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
{
size_t size = 0;
{
size_t size = 0;
- size += lttng_ust_lib_ring_buffer_align(offset, lttng_alignof(pid_t));
+ size += lttng_ust_lib_ring_buffer_align(offset, lttng_
ust_rb_
alignof(pid_t));
size += sizeof(pid_t);
return size;
}
size += sizeof(pid_t);
return size;
}
@@
-66,7
+66,7
@@
void vtid_record(struct lttng_ust_ctx_field *field,
{
pid_t vtid = wrapper_getvtid();
{
pid_t vtid = wrapper_getvtid();
- lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_alignof(vtid));
+ 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));
}
@@
-84,7
+84,7
@@
int lttng_add_vtid_to_ctx(struct lttng_ust_ctx **ctx)
int ret;
type = lttng_ust_create_type_integer(sizeof(pid_t) * CHAR_BIT,
int ret;
type = lttng_ust_create_type_integer(sizeof(pid_t) * CHAR_BIT,
- lttng_alignof(pid_t) * CHAR_BIT,
+ lttng_
ust_rb_
alignof(pid_t) * CHAR_BIT,
lttng_ust_is_signed_type(pid_t),
BYTE_ORDER, 10);
if (!type)
lttng_ust_is_signed_type(pid_t),
BYTE_ORDER, 10);
if (!type)
This page took
0.023819 seconds
and
4
git commands to generate.