From: Fredrik Markström Date: Fri, 16 May 2014 01:10:07 +0000 (+0800) Subject: Fix: alignment problems on targets not supporting unaligned access. X-Git-Tag: v2.5.0-rc1~4 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;ds=sidebyside;h=58d494e4e885915ac387de8aa74f810d4d160bb0;hp=58d494e4e885915ac387de8aa74f810d4d160bb0;p=lttng-tools.git Fix: alignment problems on targets not supporting unaligned access. Accessing floats, doubles and 64 bit int at unaligned addresses is not supported on all configurations of arm processors and if it is it's emulated and slow. This patch replaces direct assignments with memcpy. Signed-off-by: Fredrik Markström Signed-off-by: Roy Li Acked-by: Mathieu Desnoyers Signed-off-by: David Goulet ---