linux-stable/tools
Jiong Wang 3ef84346c5 selftests: bpf: makefile support sub-register code-gen test mode
This patch enables testing some eBPF programs under sub-register
compilation mode.

Only enable this when there is BPF_JMP32 support on both LLVM and kernel.
This is because only after BPF_JMP32 added, code-gen for complex program
under sub-register mode will be clean enough to pass verification.

This patch splits TEST_GEN_FILES into BPF_OBJ_FILES and
BPF_OBJ_FILES_DUAL_COMPILE. The latter are those objects we would like to
compile for both default and sub-register mode. They are also objects used
by "test_progs".

Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2019-01-26 13:33:02 -08:00
..
accounting
arch Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-01-11 09:44:05 -08:00
bpf tools: bpftool: teach cfg code about JMP32 2019-01-26 13:33:01 -08:00
build
cgroup
crypto
firewire
firmware
gpio
hv
iio tools iio: Override CFLAGS assignments 2019-01-04 12:54:49 -03:00
include bpf: JIT blinds support JMP32 2019-01-26 13:33:01 -08:00
kvm/kvm_stat
laptop
leds
lib libbpf: Show supported ELF section names when failing to guess prog/attach type 2019-01-23 12:27:04 +01:00
memory-model
nfsd
objtool
pci
pcmcia
perf tools headers powerpc: Remove unistd.h 2019-01-10 10:42:08 -03:00
power perf/core improvements and fixes: 2019-01-03 14:05:16 +01:00
scripts
spi
testing selftests: bpf: makefile support sub-register code-gen test mode 2019-01-26 13:33:02 -08:00
thermal/tmon tools thermal tmon: Use -O3 instead of -O1 if available 2019-01-04 12:54:49 -03:00
time
usb
virtio
vm tools/vm/page_owner: use page_owner_sort in the use example 2019-01-08 17:15:11 -08:00
wmi
Makefile