diff options
author | Di Zhu <[email protected]> | 2022-01-19 09:40:05 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-01-20 21:33:32 -0800 |
commit | 820e6e227c4053b6b631ae65ef1f65d560cb392b (patch) | |
tree | bbea89ab230750384c4ca4d09f80dbb6c74e96e9 /drivers/platform/x86/intel/pmt/class.c | |
parent | 748cd5729ac7421091316e32dcdffb0578563880 (diff) |
selftests: bpf: test BPF_PROG_QUERY for progs attached to sockmap
Add test for querying progs attached to sockmap. we use an existing
libbpf query interface to query prog cnt before and after progs
attaching to sockmap and check whether the queried prog id is right.
Signed-off-by: Di Zhu <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Reviewed-by: Jakub Sitnicki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions