summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2023-12-09 21:37:33 -0800
committerAlexei Starovoitov <ast@kernel.org>2023-12-09 21:37:33 -0800
commit5bcbdf72df88a351642627d94b93af7c9301b6e2 (patch)
tree21a2ba3658473f297c164c78c15ef1ce6eedec20 /scripts/gdb/linux/proc.py
parent5181dc08f79583c6dead80208137a97e68ff07b0 (diff)
parent88f6047191e69bdd02cf1b9b5b514f7e514e8b86 (diff)
Merge branch 'add-new-bpf_cpumask_weight-kfunc'
David Vernet says: ==================== Add new bpf_cpumask_weight() kfunc It can be useful to query how many bits are set in a cpumask. For example, if you want to perform special logic for the last remaining core that's set in a mask. This logic is already exposed through the main kernel's cpumask header as cpumask_weight(), so it would be useful to add a new bpf_cpumask_weight() kfunc which wraps it and does the same. This patch series was built and tested on top of commit 2146f7fe6e02 ("Merge branch 'allocate-bpf-trampoline-on-bpf_prog_pack'"). ==================== Link: https://lore.kernel.org/r/20231207210843.168466-1-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