kernel_optimize_test/tools/perf/lib
Gerald BAEZA d9c5c08341 libperf: Fix alignment trap with xyarray contents in 'perf stat'
Following the patch 'perf stat: Fix --no-scale', an alignment trap
happens in process_counter_values() on ARMv7 platforms due to the
attempt to copy non 64 bits aligned double words (pointed by 'count')
via a NEON vectored instruction ('vld1' with 64 bits alignment
constraint).

This patch sets a 64 bits alignment constraint on 'contents[]' field in
'struct xyarray' since the 'count' pointer used above points to such a
structure.

Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1566464769-16374-1-git-send-email-gerald.baeza@st.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-08-22 17:16:57 -03:00
..
Documentation libperf: Initial documentation 2019-07-29 18:34:47 -03:00
include libperf: Fix alignment trap with xyarray contents in 'perf stat' 2019-08-22 17:16:57 -03:00
tests libperf: Add perf_evsel__enable/disable test 2019-07-29 18:34:47 -03:00
Build libperf: Adopt the readn()/writen() functions from tools/perf 2019-07-29 18:34:46 -03:00
core.c libperf: Add debug output support 2019-07-29 18:34:44 -03:00
cpumap.c libperf: Move perf's cpu_map__idx() to perf_cpu_map__idx() 2019-08-22 11:18:45 -03:00
evlist.c libperf: Adopt perf_evlist__enable()/disable() functions from perf 2019-07-29 18:34:46 -03:00
evsel.c libperf: Add perf_evsel__attr() function 2019-07-29 18:34:46 -03:00
internal.h libperf: Add debug output support 2019-07-29 18:34:44 -03:00
lib.c libperf: Adopt the readn()/writen() functions from tools/perf 2019-07-29 18:34:46 -03:00
libperf.map libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
libperf.pc.template libperf: Add install targets 2019-07-29 18:34:46 -03:00
Makefile libperf: Fix arch include paths 2019-08-20 12:29:36 -03:00
threadmap.c libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
xyarray.c libperf: Adopt xyarray class from perf 2019-07-29 18:34:45 -03:00