]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: add two BPF_TASK_FD_QUERY tests in test_progs
authorYonghong Song <yhs@fb.com>
Thu, 24 May 2018 18:21:57 +0000 (11:21 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 25 May 2018 01:18:20 +0000 (18:18 -0700)
commit1a95ed13e69d0d27c537a4bb332c73afee60979f
tree0179a6929e2d9f07f635bf3617bff80be13daab2
parentca474a12028752fc03169d1cca0fe0c490cb6c4b
tools/bpf: add two BPF_TASK_FD_QUERY tests in test_progs

The new tests are added to query perf_event information
for raw_tracepoint and tracepoint attachment. For tracepoint,
both syscalls and non-syscalls tracepoints are queries as
they are treated slightly differently inside the kernel.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_progs.c