aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJiong Wang <[email protected]>2019-01-26 12:26:14 -0500
committerAlexei Starovoitov <[email protected]>2019-01-26 13:33:02 -0800
commit3ef84346c56141c72a28efcad2ddf17809533832 (patch)
treedae6534e7471ad23e7698aa60ef663fa753d0871 /scripts/gdb/linux/utils.py
parent6ea848b5ced53cbfd5677ff176c2aca10fd61bf4 (diff)
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 <[email protected]> Signed-off-by: Jiong Wang <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions