projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing alignment after header write
[lttng-ust.git]
/
libust
/
ltt-ring-buffer-client.h
diff --git
a/libust/ltt-ring-buffer-client.h
b/libust/ltt-ring-buffer-client.h
index 5f5c31588356f7f78631112eb4e34d004c576c9a..270cb1e9f1a77c2f4073e728225ffc35aa5ed696 100644
(file)
--- a/
libust/ltt-ring-buffer-client.h
+++ b/
libust/ltt-ring-buffer-client.h
@@
-198,6
+198,7
@@
void ltt_write_event_header(const struct lib_ring_buffer_config *config,
ctx_record(ctx, ltt_chan, ltt_chan->ctx);
ctx_record(ctx, ltt_chan, event->ctx);
ctx_record(ctx, ltt_chan, ltt_chan->ctx);
ctx_record(ctx, ltt_chan, event->ctx);
+ lib_ring_buffer_align_ctx(ctx, ctx->largest_align);
return;
return;
@@
-261,6
+262,7
@@
void ltt_write_event_header_slow(const struct lib_ring_buffer_config *config,
}
ctx_record(ctx, ltt_chan, ltt_chan->ctx);
ctx_record(ctx, ltt_chan, event->ctx);
}
ctx_record(ctx, ltt_chan, ltt_chan->ctx);
ctx_record(ctx, ltt_chan, event->ctx);
+ lib_ring_buffer_align_ctx(ctx, ctx->largest_align);
}
static const struct lib_ring_buffer_config client_config;
}
static const struct lib_ring_buffer_config client_config;
This page took
0.023792 seconds
and
4
git commands to generate.