projects
/
lttng-modules.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-modules.git]
/
ltt-ring-buffer-client.h
diff --git
a/ltt-ring-buffer-client.h
b/ltt-ring-buffer-client.h
index dc6bbd0bb51480a78141ba7bb82be8b89e0fcd3e..7ed86fbb5280a2c275ca89c24b9b4ec66257e5df 100644
(file)
--- a/
ltt-ring-buffer-client.h
+++ b/
ltt-ring-buffer-client.h
@@
-208,6
+208,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;
@@
-271,6
+272,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.02417 seconds
and
4
git commands to generate.