summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests
AgeCommit message (Expand)AuthorFilesLines
2020-12-10selftests/bpf: Fix "dubious pointer arithmetic" testJean-Philippe Brucker1-4/+4
2020-12-01selftests/bpf: Drain ringbuf samples at the end of testAndrii Nakryiko1-0/+6
2020-12-01libbpf: Fix ring_buffer__poll() to return number of consumed samplesAndrii Nakryiko2-2/+2
2020-11-19selftest/bpf: Test bpf_probe_read_user_str() strips trailing bytes after NULDaniel Xu1-0/+71
2020-11-16selftests/bpf: Fix error return code in run_getsockopt_test()Wang Hai1-1/+2
2020-11-14bpf: Relax return code check for subprogramsDmitrii Banshchikov1-0/+1
2020-11-09libbpf: Don't attempt to load unused subprog as an entry-point BPF programAndrii Nakryiko1-0/+6
2020-11-05bpf: Zero-fill re-used per-cpu map elementDavid Verbeiren1-0/+214
2020-10-19bpf: selftest: Ensure the return value of the bpf_per_cpu_ptr() must be checkedMartin KaFai Lau1-18/+39
2020-10-15bpf, selftest: Fix flaky tcp_hdr_options test when adding addr to loMartin KaFai Lau1-25/+1
2020-10-11bpf, selftests: Add test for different array inner map sizeDaniel Borkmann1-10/+29
2020-10-09selftests/bpf: Add profiler testAlexei Starovoitov1-0/+72
2020-10-09bpf: Propagate scalar ranges through register assignments.Alexei Starovoitov1-8/+8
2020-10-07selftests/bpf: Validate libbpf's auto-sizing of LD/ST/STX instructionsAndrii Nakryiko1-0/+225
2020-10-06selftest/bpf: Test pinning map with reused map fdHangbin Liu1-1/+48
2020-10-02bpf/selftests: Test for bpf_per_cpu_ptr() and bpf_this_cpu_ptr()Hao Luo1-0/+18
2020-10-02selftests/bpf: Ksyms_btf to test typed ksymsHao Luo2-25/+83
2020-10-02bpf: selftest: Ensure the child sk inherited all bpf_sock_ops_cb_flagsMartin KaFai Lau1-0/+12
2020-10-02selftests/bpf: Properly initialize linfo in sockmap_basicStanislav Fomichev1-1/+1
2020-10-02selftests/bpf: Initialize duration in xdp_noinline.cStanislav Fomichev1-1/+1
2020-09-30selftests/bpf: Add tests for BPF_F_PRESERVE_ELEMSSong Liu1-0/+66
2020-09-30selftests/bpf: Fix alignment of .BTF_idsJean-Philippe Brucker1-0/+6
2020-09-30selftests/bpf: Test "incremental" btf_dump in C formatAndrii Nakryiko1-0/+105
2020-09-29bpf, selftests: Fix warning in snprintf_btf where system() call uncheckedJohn Fastabend1-1/+3
2020-09-29selftests: Add selftest for disallowing modify_return attachment to freplaceToke Høiland-Jørgensen1-0/+56
2020-09-29selftests/bpf: Adding test for arg dereference in extension traceJiri Olsa1-0/+111
2020-09-29selftests: Add test for multiple attachments of freplace programToke Høiland-Jørgensen1-32/+124
2020-09-29selftests/bpf: Test BTF's handling of endiannessAndrii Nakryiko1-0/+101
2020-09-29selftests/bpf: Move and extend ASSERT_xxx() testing macrosAndrii Nakryiko1-34/+0
2020-09-29selftests: Make sure all 'skel' variables are declared staticToke Høiland-Jørgensen2-2/+2
2020-09-29selftests/bpf_iter: Don't fail test due to missing __builtin_btf_type_idToke Høiland-Jørgensen1-3/+9
2020-09-29selftests/bpf: Fix unused-result warning in snprintf_btf.cAlan Maguire1-1/+1
2020-09-28selftests/bpf: Test BTF writing APIsAndrii Nakryiko1-0/+278
2020-09-28selftests/bpf: Add test for bpf_seq_printf_btf helperAlan Maguire1-0/+74
2020-09-28selftests/bpf: Fix overflow tests to reflect iter size increaseAlan Maguire1-7/+7
2020-09-28selftests/bpf: Add bpf_snprintf_btf helper testsAlan Maguire1-0/+60
2020-09-28selftests: Remove fmod_ret from test_overheadToke Høiland-Jørgensen1-13/+1
2020-09-28selftest: bpf: Test copying a sockmap and sockhashLorenz Bauer1-6/+8
2020-09-28selftests: bpf: Remove shared header from sockmap iter testLorenz Bauer1-18/+18
2020-09-28selftests: bpf: Add helper to compare socket cookiesLorenz Bauer1-14/+36
2020-09-28selftests/bpf: Add raw_tp_test_runSong Liu1-0/+96
2020-09-25bpf: selftest: Add test_btf_skc_cls_ingressMartin KaFai Lau1-0/+234
2020-09-25bpf: selftest: Use bpf_skc_to_tcp_sock() in the sock_fields testMartin KaFai Lau1-7/+33
2020-09-25bpf: selftest: Use network_helpers in the sock_fields testMartin KaFai Lau1-79/+9
2020-09-25bpf: selftest: Adapt sock_fields test to use skel and global variablesMartin KaFai Lau1-217/+163
2020-09-25bpf: selftest: Move sock_fields test into test_progsMartin KaFai Lau1-0/+480
2020-09-21selftests/bpf: Fix stat probe in d_path testJiri Olsa1-0/+10
2020-09-19selftests/bpf: Fix endianness issue in test_sockopt_skIlya Leoshkevich1-2/+2
2020-09-18selftests/bpf: Fix endianness issue in sk_assignIlya Leoshkevich1-1/+1
2020-09-17selftests/bpf: Add tailcall_bpf2bpf testsMaciej Fijalkowski1-0/+332