projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: event ctx get size should be after chan ctx
[lttng-modules.git]
/
lttng-ring-buffer-client.h
diff --git
a/lttng-ring-buffer-client.h
b/lttng-ring-buffer-client.h
index d57dda192019a6f8bf78c825ff12bf7fddd01197..625d7b4526ce81853ee1514b95ed1e13b9193fe7 100644
(file)
--- a/
lttng-ring-buffer-client.h
+++ b/
lttng-ring-buffer-client.h
@@
-170,8
+170,8
@@
size_t record_header_size(const struct lib_ring_buffer_config *config,
padding = 0;
WARN_ON_ONCE(1);
}
- offset += ctx_get_size(offset, event->ctx);
offset += ctx_get_size(offset, lttng_chan->ctx);
+ offset += ctx_get_size(offset, event->ctx);
*pre_header_padding = padding;
return offset - orig_offset;
This page took
0.022809 seconds
and
4
git commands to generate.