bpf: selftests: Test fentry tracing a struct_ops program
authorMartin KaFai Lau <kafai@fb.com>
Wed, 30 Mar 2022 01:15:02 +0000 (18:15 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 31 Mar 2022 02:31:30 +0000 (19:31 -0700)
commit0a210af6d0a0595fef566e7eeb072f10f37774be
treee12934b20ca58c35580f10f72e12516846652e81
parent4a9c7bbe2ed4d2b240674b1fb606c41d3940c412
bpf: selftests: Test fentry tracing a struct_ops program

This patch tests attaching an fentry prog to a struct_ops prog.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220330011502.2985292-1-kafai@fb.com
tools/testing/selftests/bpf/prog_tests/dummy_st_ops.c
tools/testing/selftests/bpf/progs/trace_dummy_st_ops.c [new file with mode: 0644]