diff options
author | Adrian Ratiu <adrian.ratiu@collabora.com> | 2019-03-20 11:10:54 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-03-21 04:28:58 +0100 |
commit | 48e5d98a0eb1e4cec308ed63444a505a7e7dd9e3 (patch) | |
tree | dd1f8f59a0fe42d9668658268870a4e4e47d9a2b /kernel/stackleak.c | |
parent | net: isdn: Make isdn_ppp_mp_discard and isdn_ppp_mp_reassembly static (diff) | |
download | linux-48e5d98a0eb1e4cec308ed63444a505a7e7dd9e3.tar.xz linux-48e5d98a0eb1e4cec308ed63444a505a7e7dd9e3.zip |
selftests/bpf: Add arm target register definitions
eBPF "restricted C" code can be compiled with LLVM/clang using target
triplets like armv7l-unknown-linux-gnueabihf and loaded/run with small
cross-compiled gobpf/elf [1] programs without requiring a full BCC
port which is also undesirable on small embedded systems due to its
size footprint. The only missing pieces are these helper macros which
otherwise have to be redefined by each eBPF arm program.
[1] https://github.com/iovisor/gobpf/tree/master/elf
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/stackleak.c')
0 files changed, 0 insertions, 0 deletions