File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -372,6 +372,23 @@ used.
372
372
.. _tools/testing/selftests/bpf/progs/cpumask_success.c :
373
373
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/progs/cpumask_success.c
374
374
375
+ 3.3 cpumask iterator
376
+ --------------------
377
+
378
+ The cpumask iterator enables the iteration of percpu data, such as runqueues,
379
+ system_group_pcpu, and more.
380
+
381
+ .. kernel-doc :: kernel/bpf/cpumask.c
382
+ :identifiers: bpf_iter_cpumask_new bpf_iter_cpumask_next
383
+ bpf_iter_cpumask_destroy
384
+
385
+ ----
386
+
387
+ Some example usages of the cpumask iterator can be found in
388
+ `tools/testing/selftests/bpf/progs/test_cpumask_iter.c `_.
389
+
390
+ .. _tools/testing/selftests/bpf/progs/test_cpumask_iter.c :
391
+ https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/progs/test_cpumask_iter.c
375
392
376
393
4. Adding BPF cpumask kfuncs
377
394
============================
You can’t perform that action at this time.
0 commit comments