aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/netdev-times-record
diff options
context:
space:
mode:
authorDavid Vernet <void@manifault.com>2023-12-07 15:08:43 -0600
committerAlexei Starovoitov <ast@kernel.org>2023-12-09 21:37:33 -0800
commit88f6047191e69bdd02cf1b9b5b514f7e514e8b86 (patch)
tree21a2ba3658473f297c164c78c15ef1ce6eedec20 /tools/perf/scripts/python/bin/netdev-times-record
parentbpf: Add bpf_cpumask_weight() kfunc (diff)
downloadlinux-88f6047191e69bdd02cf1b9b5b514f7e514e8b86.tar.gz
linux-88f6047191e69bdd02cf1b9b5b514f7e514e8b86.zip
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 'tools/perf/scripts/python/bin/netdev-times-record')
0 files changed, 0 insertions, 0 deletions