diff options
author | 2021-08-14 14:17:05 -0700 | |
---|---|---|
committer | 2022-01-15 08:47:31 -0800 | |
commit | 9b51d9d866482a703646fd4c07e433c3d9d88efd (patch) | |
tree | 848b62fea613d49466544ae6e441ddac0478ff34 /tools/perf/scripts/python/stackcollapse.py | |
parent | tools: sync tools/bitmap with mother linux (diff) | |
download | linux-dev-9b51d9d866482a703646fd4c07e433c3d9d88efd.tar.xz linux-dev-9b51d9d866482a703646fd4c07e433c3d9d88efd.zip |
cpumask: replace cpumask_next_* with cpumask_first_* where appropriate
cpumask_first() is a more effective analogue of 'next' version if n == -1
(which means start == 0). This patch replaces 'next' with 'first' where
things look trivial.
There's no cpumask_first_zero() function, so create it.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions