scripts: get_abi.pl: better generate regex from what fields
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 09:40:00 +0000 (11:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 14:23:38 +0000 (16:23 +0200)
commitdf2205de92975bdaabb115dfef5c513b26b36263
tree178bdceb5d5810303eaa11484af064eabdc0779e
parent4dcce5b081555a33e97e06093910e6cfe6cb1023
scripts: get_abi.pl: better generate regex from what fields

Using repeating sequencies of .* seem to slow down the
processing speed on some cases. Also, currently, a "."
character is not properly handled as such.

Change the way regexes are created, in order to produce
better search expressions.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/c69c01c12b1b30466177dcb17e45f833fb47713d.1632994565.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/get_abi.pl