diff options
author | Brian Johannesmeyer <bjohannesmeyer@gmail.com> | 2024-04-15 17:55:32 +0300 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2024-07-03 09:38:36 +0300 |
commit | 39cf650d68289d41d484f4c29fea0124df2e09aa (patch) | |
tree | e4e4c60527c298d067faa1a700e63201ff1c500b /scripts/gdb/linux/lists.py | |
parent | 22a40d14b572deb80c0648557f4bd502d7e83826 (diff) | |
download | linux-39cf650d68289d41d484f4c29fea0124df2e09aa.tar.xz |
scripts/faddr2line: Reduce number of readelf calls to three
Rather than calling readelf several times for each invocation of
__faddr2line, call readelf only three times at the beginning, and save its
result for future use.
Signed-off-by: Brian Johannesmeyer <bjohannesmeyer@gmail.com>
Link: https://lore.kernel.org/r/20240415145538.1938745-2-bjohannesmeyer@gmail.com
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions