selftests/bpf: Adjust selftest due to function rename
authorIhor Solodrai <ihor.solodrai@linux.dev>
Tue, 10 Feb 2026 23:58:55 +0000 (15:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 13 Feb 2026 22:14:27 +0000 (14:14 -0800)
commit48f624c3dc71c2b807ce138bb70d1f5216532874
tree9bbf4b362a1778697ec8ba97b7088a97ee5ab6a3
parentccd2d799ed4467c07f5ee18c2f5c59bcc990822c
selftests/bpf: Adjust selftest due to function rename

do_filp_open() was renamed in commit
541003b576c3 ("rename do_filp_open() to do_file_open()")

This broke test_profiler, because it uses a kretprobe on that
function. Fix it by renaming accordingly.

Reported-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
Closes: https://lore.kernel.org/bpf/djwjf2vfb7gro3rfag666bojod6ytcectahnb5z6hx2hawimtj@sx47ghzjg4lw/
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Link: https://lore.kernel.org/r/20260210235855.215679-1-ihor.solodrai@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/profiler.h
tools/testing/selftests/bpf/progs/profiler.inc.h