]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scripts/lib/abi/abi_parser.py: optimize parse_abi() function
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 10 Feb 2025 10:18:02 +0000 (11:18 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 10 Feb 2025 18:19:56 +0000 (11:19 -0700)
commitc67c3fbdd917884e38a366c38717c9f769075c15
treee64486dcadc6e660269750fa571a825b402b31c1
parent9d7ec8867960d731143280eb86d21a994fffb3de
scripts/lib/abi/abi_parser.py: optimize parse_abi() function

Instead of using glob, use a recursive function to parse all files.

Such change reduces the total excecution time by 15% with my SSD disks.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/190dd358897017ed82c56f1e263192215ffbae43.1739182025.git.mchehab+huawei@kernel.org
scripts/lib/abi/abi_parser.py