selftests/bpf: Fix vfs_link kprobe definition
authorNikolay Borisov <nborisov@suse.com>
Thu, 31 Mar 2022 14:09:49 +0000 (17:09 +0300)
committerAndrii Nakryiko <andrii@kernel.org>
Sun, 3 Apr 2022 23:41:24 +0000 (16:41 -0700)
commite299bcd4d16ff86f46c48df1062c8aae0eca1ed8
treed7024f038ef3f3de251bef7d244cd9af8b506cba
parent185da3da9379948ffbe45051b16d526c428fb06e
selftests/bpf: Fix vfs_link kprobe definition

Since commit 6521f8917082 ("namei: prepare for idmapped mounts")
vfs_link's prototype was changed, the kprobe definition in
profiler selftest in turn wasn't updated. The result is that all
argument after the first are now stored in different registers. This
means that self-test has been broken ever since. Fix it by updating the
kprobe definition accordingly.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220331140949.1410056-1-nborisov@suse.com
tools/testing/selftests/bpf/progs/profiler.inc.h