aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorYisheng Xie <[email protected]>2018-05-31 19:11:19 +0800
committerIngo Molnar <[email protected]>2018-06-21 15:45:31 +0200
commit8f894bf47dc9e8b77166125a084a7217693a28cd (patch)
tree302826513c9959972eea49da9b93d9b0d87dfbc1 /tools/perf/scripts/python/compaction-times.py
parentb3dae109fa89d67334bf3349babab3ad9b6f233f (diff)
sched/debug: Use match_string() helper instead of open-coded logic
match_string() returns the index of an array for a matching string, which can be used instead of the open coded variant. Signed-off-by: Yisheng Xie <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions