Skip to content
Commit 727a92d6 authored by Jordan Rome's avatar Jordan Rome Committed by Andrii Nakryiko
Browse files

selftests/bpf: Add assert for user stacks in test_task_stack



This is a follow up to:
commit b8e3a87a ("bpf: Add crosstask check to __bpf_get_stack").

This test ensures that the task iterator only gets a single
user stack (for the current task).

Signed-off-by: default avatarJordan Rome <linux@jordanrome.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Acked-by: default avatarStanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20231112023010.144675-1-linux@jordanrome.com
parent 100888fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment