KFunc bpf_cpumask_weight
Return the number of bits in CPU-mask.
Definition
cpumask
: The CPU-mask being queried.
Count the number of set bits in the given CPU-mask.
u32 bpf_cpumask_weight(const struct cpumask *cpumask)
Usage
Docs could be improved
This part of the docs is incomplete, contributions are very welcome
Program types
The following program types can make use of this kfunc:
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome