diff options
author | Jiri Slaby <[email protected]> | 2020-10-29 12:32:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-11-04 16:43:39 +0100 |
commit | 2389cdc36007ba28ebe6640d7dd5e3494318a909 (patch) | |
tree | 40849526e88aa28428a573b9827d32530af848ac /tools/perf/scripts/python/flamegraph.py | |
parent | 6dee84d6bed747653914298a8913e91391a2ce10 (diff) |
vt: keyboard, use find_next_bit in kbd_match
Instead of a 'for' loop with 'test_bit's to find a bit in a range, use
find_next_bit to achieve the same in a simpler and faster manner.
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions