From: Mathieu Desnoyers Date: Sun, 25 Oct 2015 15:23:31 +0000 (-0400) Subject: Fix: header size larger than 256 bytes X-Git-Tag: v2.6.5~3 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=66137d74a6be599e168a2865adb0717e7936eaac;hp=66137d74a6be599e168a2865adb0717e7936eaac;p=lttng-modules.git 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 ---