summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-09-23 18:41:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-23 19:45:08 +0300
commit9263589422fe176d377b912145e64ee02bf5c813 (patch)
tree8157b7b51c37f2e66e431b41df94108ff64401b9 /tools/perf/scripts/python
parent46f661fd0faf7f518b6760ac15f02fa36896c126 (diff)
downloadlinux-9263589422fe176d377b912145e64ee02bf5c813.tar.xz
scripts: get_abi.pl: Better handle leaves with wildcards
When the the leaf of a regex ends with a wildcard, the speedup algorithm to reduce the number of regexes to seek won't work. So, when those are found, place at the "others" exception. That slows down the search from 0.14s to 1 minute on my machine, but the results are a lot more consistent. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/60bb97cf337333783f9f52e114b896439e9cc215.1632411447.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions