diff options
| author | David Vernet <void@manifault.com> | 2023-12-07 15:08:43 -0600 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-09 21:37:33 -0800 |
| commit | 88f6047191e69bdd02cf1b9b5b514f7e514e8b86 (patch) | |
| tree | 21a2ba3658473f297c164c78c15ef1ce6eedec20 /scripts/gdb/linux/proc.py | |
| parent | a6de18f310a511278c1ff16b96eb2d500eada725 (diff) | |
selftests/bpf: Add test for bpf_cpumask_weight() kfunc
The new bpf_cpumask_weight() kfunc can be used to count the number of
bits that are set in a struct cpumask* kptr. Let's add a selftest to
verify its behavior.
Signed-off-by: David Vernet <void@manifault.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20231207210843.168466-3-void@manifault.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
