aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorYisheng Xie <xieyisheng1@huawei.com>2018-05-21 19:58:02 +0800
committerMimi Zohar <zohar@linux.vnet.ibm.com>2018-05-31 10:11:58 -0400
commitb4df86085af9d3f456bed8245cede7c4413dcf83 (patch)
treebf74ddc01902c32c84677d5b4321b5561f58746d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent6f0911a666d1f99ff72e7848ddee36af7bbce050 (diff)
ima: use match_string() helper
match_string() returns the index of an array for a matching string, which can be used intead of open coded variant. Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions