diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-03-22 20:04:58 +0200 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-04-21 11:25:26 -0600 |
commit | b13f76664d68b9b9fc0827c5dcfe6811232db5f7 (patch) | |
tree | 8c9db1e5f85935fe6fed16182e0640570f3002be /samples/bpf | |
parent | 584f34f1721c3b5d2f8488b4afee1186a3f41cf7 (diff) | |
download | linux-b13f76664d68b9b9fc0827c5dcfe6811232db5f7.tar.gz linux-b13f76664d68b9b9fc0827c5dcfe6811232db5f7.tar.bz2 linux-b13f76664d68b9b9fc0827c5dcfe6811232db5f7.zip |
selftests: breakpoints: allow to cross-compile for aarch64/arm64
To build breakpoint_test_arm64, ARCH value is only tested for "aarch64".
It covers only the native build because it's computed from uname -m output.
For cross-compilation, ARCH is set to arm64 and prevent to cross-compile
the test.
Fix the test to allow both native and cross-compilation of the test.
Note: glibc is missing several of the TRAP_* constants in the userspace
definitions. Specifically TRAP_BRANCH and TRAP_HWBKPT.
See https://sourceware.org/bugzilla/show_bug.cgi?id=21286
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions