aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-02-17 17:16:09 +0800
committerVlastimil Babka <[email protected]>2022-02-21 11:38:12 +0100
commit7d6b6cc355378a66044cbd25ccee4153bf60dea9 (patch)
treed638f7397abcb8724e97338833b3992460e655da /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentbd53ce4da252ddb1ae4257c164f80aea3d8ab90c (diff)
mm/slab_common: use helper function is_power_of_2()
Use helper function is_power_of_2() to check if KMALLOC_MIN_SIZE is power of two. Minor readability improvement. Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions