projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: application context header size
[lttng-ust.git]
/
liblttng-ust
/
lttng-ring-buffer-client.h
diff --git
a/liblttng-ust/lttng-ring-buffer-client.h
b/liblttng-ust/lttng-ring-buffer-client.h
index 9e22b93e2cc30c766ce7e2de2d9932d9ede07de6..1ebb14e48ff05e218994dbc8710eb566b22f9fcd 100644
(file)
--- a/
liblttng-ust/lttng-ring-buffer-client.h
+++ b/
liblttng-ust/lttng-ring-buffer-client.h
@@
-118,7
+118,7
@@
size_t record_header_size(const struct lttng_ust_lib_ring_buffer_config *config,
struct lttng_ust_lib_ring_buffer_ctx *ctx)
{
struct lttng_channel *lttng_chan = channel_get_private(chan);
struct lttng_ust_lib_ring_buffer_ctx *ctx)
{
struct lttng_channel *lttng_chan = channel_get_private(chan);
- struct lttng_
event *event = ctx->priv
;
+ struct lttng_
stack_ctx *lttng_ctx = ctx->priv2
;
size_t orig_offset = offset;
size_t padding;
size_t orig_offset = offset;
size_t padding;
@@
-157,8
+157,8
@@
size_t record_header_size(const struct lttng_ust_lib_ring_buffer_config *config,
padding = 0;
WARN_ON_ONCE(1);
}
padding = 0;
WARN_ON_ONCE(1);
}
- offset += ctx_get_size(offset,
event->
ctx);
- offset += ctx_get_size(offset, lttng_c
han->
ctx);
+ offset += ctx_get_size(offset,
lttng_ctx->chan_
ctx);
+ offset += ctx_get_size(offset, lttng_c
tx->event_
ctx);
*pre_header_padding = padding;
return offset - orig_offset;
*pre_header_padding = padding;
return offset - orig_offset;
This page took
0.026772 seconds
and
4
git commands to generate.