Centralize arch detection in a public header
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 18 Mar 2021 18:16:40 +0000 (14:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 22 Mar 2021 20:29:21 +0000 (16:29 -0400)
commit2eba8e397d36e8cecaf4731b4f892dc57f32a382
treeb3188ba7a9ba3f56b732044b256c3b930e64d0b0
parent156b0cf7b48f8f2e0e99b148803354ba8b1e5c6a
Centralize arch detection in a public header

Add a public header with centralized compiler arch detection and arch
specific parameters. Namespace everything under 'LTTNG_UST_ARCH_'.

Move "LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS" from a configure time
define to a static one base on compiler arch detection.

This will simplify the build system and remove the possibility of
accidently mixing aligned and unaligned access in a multiarch
environment with shared header files.

Change-Id: Ic977d13f031ad070bea4ff5d7b2b8079843e0c26
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac
include/Makefile.am
include/lttng/ust-arch.h [new file with mode: 0644]
include/lttng/ust-config.h.in
include/lttng/ust-tracepoint-event.h
include/lttng/ust-tracer.h
include/ust-helper.h
liblttng-ust/lttng-context-perf-counters.c
liblttng-ust/rculfhash.c
This page took 0.025189 seconds and 4 git commands to generate.