Fix: header size larger than 256 bytes
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 25 Oct 2015 15:23:31 +0000 (11:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 25 Oct 2015 15:26:52 +0000 (11:26 -0400)
commitc1cc82b8a2ebe795ef7b3cf3cb49c9de599dbdbb
tree9fcb1744cebed9b49b6b23106ca47f4fccfd855f
parentda0f6c58f715087f5091551070bf4350bf2768bf
Fix: header size larger than 256 bytes

When adding large context (e.g. callstack), headers larger than 256
bytes cause discrepancy between calculated size and size written into
the trace buffers. This generates a corrupted trace and triggers a
warning in ring buffer backend, which triggers a safety net disabling
tracing for the current channel.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-ring-buffer-client.h
lttng-ring-buffer-metadata-client.h
This page took 0.026178 seconds and 4 git commands to generate.