]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Add test for attaching kprobe with long event names
authorFeng Yang <yangfeng@kylinos.cn>
Thu, 17 Apr 2025 01:48:48 +0000 (09:48 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 23 Apr 2025 00:13:37 +0000 (17:13 -0700)
commit9b72f3e5b76007d8ef9c7743561d4c9298a086ab
tree720686e1fcfa71ea8ffbb26acdc0d2e56f9260e5
parente1be7c45d24434bc6e04b675ae91c049e50447be
selftests/bpf: Add test for attaching kprobe with long event names

This test verifies that attaching kprobe/kretprobe with long event names
does not trigger EINVAL errors.

Signed-off-by: Feng Yang <yangfeng@kylinos.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250417014848.59321-4-yangfeng59949@163.com
tools/testing/selftests/bpf/prog_tests/attach_probe.c
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c