diff options
| author | Yisheng Xie <[email protected]> | 2018-05-31 19:11:19 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-06-21 15:45:31 +0200 |
| commit | 8f894bf47dc9e8b77166125a084a7217693a28cd (patch) | |
| tree | 302826513c9959972eea49da9b93d9b0d87dfbc1 /tools/perf/scripts/python/compaction-times.py | |
| parent | b3dae109fa89d67334bf3349babab3ad9b6f233f (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