summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-09-23 17:41:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-23 18:45:08 +0200
commitf34f67292b5aab7907ec7a694d5733dbc1593b3b (patch)
tree5f45c57aa9fe4c699f56fca3a92937a9b24e5740 /drivers
parentcb06b8ddeb4790cb6caf744316ebea99d53996ee (diff)
downloadlinux-f34f67292b5aab7907ec7a694d5733dbc1593b3b.tar.bz2
scripts: get_abi.pl: precompile what match regexes
In order to earn some time during matches, pre-compile regexes. Before this patch: $ time ./scripts/get_abi.pl undefined |wc -l 6970 real 0m54,751s user 0m54,022s sys 0m0,592s Afterwards: $ time ./scripts/get_abi.pl undefined |wc -l 6970 real 0m5,888s user 0m5,310s sys 0m0,562s Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/ec45de8fcae791aab0880644974a110424423e68.1632411447.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions