Fix: context alignment not properly handled
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 1 Dec 2014 23:12:53 +0000 (18:12 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 1 Dec 2014 23:19:08 +0000 (18:19 -0500)
commitebfdc61210a82cb0d2015fad92359a97a75d49ce
tree121b1a55d3c7335119fa4e25165af165fc3c8c19
parent5f79e67ecff15c0461df0cb3274b3b90cc39826d
Fix: context alignment not properly handled

This issue affects only architectures without efficient unaligned
accesses, only when a context field with larger alignment follows a
context field with smaller alignment. It generates unreadable traces
when such context fields are enabled in this configuration.

Fixes #858

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
14 files changed:
lttng-context-hostname.c
lttng-context-nice.c
lttng-context-perf-counters.c
lttng-context-pid.c
lttng-context-ppid.c
lttng-context-prio.c
lttng-context-procname.c
lttng-context-tid.c
lttng-context-vpid.c
lttng-context-vppid.c
lttng-context-vtid.c
lttng-context.c
lttng-events.h
lttng-ring-buffer-client.h
This page took 0.026627 seconds and 4 git commands to generate.