diff options
author | Leon Hwang <leon.hwang@linux.dev> | 2024-07-28 19:46:12 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-08-22 13:28:19 -0700 |
commit | 7559a7a84ef83a2dd86caf623430b8d834843cec (patch) | |
tree | 40480ff2bd10a9af89f0fe3798e783b0f2e034ce /tools/testing/selftests/bpf/prog_tests/trace_printk.c | |
parent | 50c374c6d1a43db9444cb74cc09552c817db2a9b (diff) | |
download | linux-7559a7a84ef83a2dd86caf623430b8d834843cec.tar.gz linux-7559a7a84ef83a2dd86caf623430b8d834843cec.tar.bz2 linux-7559a7a84ef83a2dd86caf623430b8d834843cec.zip |
selftests/bpf: Add testcase for updating attached freplace prog to prog_array map
Add a selftest to confirm the issue, which gets -EINVAL when update
attached freplace prog to prog_array map, has been fixed.
cd tools/testing/selftests/bpf; ./test_progs -t tailcalls
328/25 tailcalls/tailcall_freplace:OK
328 tailcalls:OK
Summary: 1/25 PASSED, 0 SKIPPED, 0 FAILED
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
Link: https://lore.kernel.org/r/20240728114612.48486-3-leon.hwang@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/trace_printk.c')
0 files changed, 0 insertions, 0 deletions