perf test: Add asm pureloop test tool
authorCarsten Haitzler <carsten.haitzler@arm.com>
Fri, 9 Sep 2022 15:27:53 +0000 (16:27 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Oct 2022 17:48:48 +0000 (14:48 -0300)
commit8b97519711c3a0f9eb8274a227dff3fe4f0f72a2
tree0b60a6e9ae72809e01bd0fb26ad7d34498b6a7d1
parent34bec35cbbb23e5fd18100f2a2b217ebb6cb129c
perf test: Add asm pureloop test tool

Add test tool to be driven by further test scripts. This tool is pure
arm64 ASM with no libc usage to ensure it is the same exact binary/code
every time so it can also be re-used for many uses. It just loops for a
given fixed number of loops.

Reviewed-by: James Clark <james.clark@arm.com>
Signed-off-by: Carsten Haitzler <carsten.haitzler@arm.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
Cc: coresight@lists.linaro.org
Link: https://lore.kernel.org/r/20220909152803.2317006-4-carsten.haitzler@foss.arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/coresight/Makefile
tools/perf/tests/shell/coresight/asm_pure_loop/.gitignore [new file with mode: 0644]
tools/perf/tests/shell/coresight/asm_pure_loop/Makefile [new file with mode: 0644]
tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S [new file with mode: 0644]