summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests: bpf: initialize bpf_object pointers where neededLorenz Bauer2019-05-101-1/+1
| | | | | | | | | | There are a few tests which call bpf_object__close on uninitialized bpf_object*, which may segfault. Explicitly zero-initialise these pointers to avoid this. Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
* selftests: bpf: break up test_progs - tracepointStanislav Fomichev2019-03-021-0/+82
Move tracepoint prog tests into separate files. Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>