Re: [PATCH] selftests/bpf: Add arm target register definitions

2019-03-04 Thread Song Liu
On Mon, Mar 4, 2019 at 12:50 PM Adrian Ratiu wrote: > > 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 undesirab

[PATCH] selftests/bpf: Add arm target register definitions

2019-03-04 Thread Adrian Ratiu
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 onl