aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c
diff options
context:
space:
mode:
authorDavid Vernet <[email protected]>2023-10-04 16:23:39 +0000
committerDaniel Borkmann <[email protected]>2023-10-09 14:29:06 +0000
commit0d7ae06860753bb30b3731302b994da071120d00 (patch)
tree8079375f21629e5cb73952c99bea46a4342c0a44 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c
parentbpf: Add ability to pin bpf timer to calling CPU (diff)
downloadkernel-0d7ae06860753bb30b3731302b994da071120d00.tar.gz
kernel-0d7ae06860753bb30b3731302b994da071120d00.zip
selftests/bpf: Test pinning bpf timer to a core
Now that we support pinning a BPF timer to the current core, we should test it with some selftests. This patch adds two new testcases to the timer suite, which verifies that a BPF timer both with and without BPF_F_TIMER_ABS, can be pinned to the calling core with BPF_F_TIMER_CPU_PIN. Signed-off-by: David Vernet <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Song Liu <[email protected]> Acked-by: Hou Tao <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions