summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2022-01-23 10:38:51 -0800
committerYury Norov <yury.norov@gmail.com>2022-06-03 06:52:57 -0700
commit99248e351a2712154d1120ab003d89635c4e8e72 (patch)
tree23541d56746569584efc0f7ae75da7b6ce8ae375 /tools/perf/scripts/python/export-to-postgresql.py
parentd72002ae67adb1c665e43970685b16645023d639 (diff)
genirq/affinity: replace cpumask_weight with cpumask_empty where appropriate
__irq_build_affinity_masks() calls cpumask_weight() to check if any bit of a given cpumask is set. We can do it more efficiently with cpumask_empty() because cpumask_empty() stops traversing the cpumask as soon as it finds first set bit, while cpumask_weight() counts all bits unconditionally. Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions