diff options
author | Martin KaFai Lau <martin.lau@kernel.org> | 2025-05-05 18:58:55 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-05-06 10:21:06 -0700 |
commit | 29318b4d5dc348367dee8ad0ad7b89350cf1161e (patch) | |
tree | 8028502f766be88219e125a72a2c80ef3429fedd /tools/perf/scripts/python/task-analyzer.py | |
parent | fb5b480205bad3936b054b86f7c9d2bd7835caac (diff) |
selftests/bpf: Add test for bpf_list_{front,back}
This patch adds the "list_peek" test to use the new
bpf_list_{front,back} kfunc.
The test_{front,back}* tests ensure that the return value
is a non_own_ref node pointer and requires the spinlock to be held.
Suggested-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> # check non_own_ref marking
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20250506015857.817950-9-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions