diff options
| author | Tejun Heo <tj@kernel.org> | 2026-07-13 22:18:44 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-07-13 22:18:44 -1000 |
| commit | e051308b499a40e986f8da6b8444f750d8f7a5c7 (patch) | |
| tree | 6d4660e8f7c7bfb52d27a6c9cc2847998d2c9e68 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b0a2ca6ae0ed03c625cd343d662d83bc94d84217 (diff) | |
tools/sched_ext: Add three-mask cmask intersection iterator
Add cmask_next_and2_set() and its round-robin wrap, extending
cmask_next_and_set() to a three-mask intersection: the next cid set in all
three masks at or after @start. A caller iterating the intersection of
three cmasks can then scan it in one pass, folding the third mask into the
word-level AND rather than skipping non-members one candidate at a time.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
