aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorLi Zhijian <[email protected]>2018-02-22 02:34:02 +0000
committerDaniel Borkmann <[email protected]>2018-02-22 14:21:26 +0000
commit80475c48c6a8a65171e035e0915dc7996b5a0a65 (patch)
tree53da30883f50ee5acbde1a0717d5a67b6f5e5e78 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentselftests/bpf: update gitignore with test_libbpf_open (diff)
downloadkernel-80475c48c6a8a65171e035e0915dc7996b5a0a65.tar.gz
kernel-80475c48c6a8a65171e035e0915dc7996b5a0a65.zip
selftests/bpf/test_maps: exit child process without error in ENOMEM case
test_maps contains a series of stress tests, and previously it will break the rest tests when it failed to alloc memory. ----------------------- Failed to create hashmap key=8 value=262144 'Cannot allocate memory' Failed to create hashmap key=16 value=262144 'Cannot allocate memory' Failed to create hashmap key=8 value=262144 'Cannot allocate memory' Failed to create hashmap key=8 value=262144 'Cannot allocate memory' test_maps: test_maps.c:955: run_parallel: Assertion `status == 0' failed. Aborted not ok 1..3 selftests: test_maps [FAIL] ----------------------- after this patch, the rest tests will be continue when it occurs an ENOMEM failure CC: Alexei Starovoitov <[email protected]> CC: Philip Li <[email protected]> Suggested-by: Daniel Borkmann <[email protected]> Signed-off-by: Li Zhijian <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions