diff options
| author | David Vernet <[email protected]> | 2023-12-07 15:08:43 -0600 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-12-09 21:37:33 -0800 |
| commit | 88f6047191e69bdd02cf1b9b5b514f7e514e8b86 (patch) | |
| tree | 21a2ba3658473f297c164c78c15ef1ce6eedec20 /tools/perf/scripts/python/bin | |
| 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 <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions