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:59 +0000 (11:26 -0400)
commit930e21f56c95bbb79f1399aa87e12254101e99b1
tree5135415b7f57ce40367f01e69cad897ec32688c6
parente7261e0ee0e2ef2f2aea1c02294201e444fc42a4
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.025889 seconds and 4 git commands to generate.