diff options
author | Ross Burton <ross.burton@arm.com> | 2024-10-10 17:06:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 12:17:03 +0100 |
commit | 827716ac0aa2de296f64db5d950ae5b31dd2dcc8 (patch) | |
tree | 2d4266fc85cd51c3a524a84d4f2dca91039d28ad /scripts/lib/scriptutils.py | |
parent | 876d319f73cadd1168beecb5b2eedae696f68fd9 (diff) | |
download | poky-827716ac0aa2de296f64db5d950ae5b31dd2dcc8.tar.gz |
insane: tidy up objdump preloading in package_qa_walk()
Move the prepopulate function out of global scope, and access the
dictionary once instead of repeatedly.
This still results in each ELF being opened twice, but this avoids
opening all of the files at once and the ELFFile.open() call is fairly
fast.
(From OE-Core rev: cda3647b32703f43c4fe2af3bab977e5698633f6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions