diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-02-10 11:18:02 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-02-10 11:19:56 -0700 |
commit | c67c3fbdd917884e38a366c38717c9f769075c15 (patch) | |
tree | e64486dcadc6e660269750fa571a825b402b31c1 /scripts/get_abi.py | |
parent | 9d7ec8867960d731143280eb86d21a994fffb3de (diff) | |
download | linux-c67c3fbdd917884e38a366c38717c9f769075c15.tar.gz linux-c67c3fbdd917884e38a366c38717c9f769075c15.tar.bz2 linux-c67c3fbdd917884e38a366c38717c9f769075c15.zip |
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
Diffstat (limited to 'scripts/get_abi.py')
0 files changed, 0 insertions, 0 deletions