aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSami Tolvanen <[email protected]>2020-04-21 15:08:43 -0700
committerPeter Zijlstra <[email protected]>2020-05-15 10:35:13 +0200
commit6b5dd716da8fc3aba65e6b7d992dea0cee2f9528 (patch)
tree2e5c1e4a8ad1c0d6619a30a476b76bc28de29cec /tools/perf/scripts/python/export-to-sqlite.py
parent28fe1d7bf89f8ed5be70b98a33932dbaf99345dd (diff)
objtool: optimize add_dead_ends for split sections
Instead of iterating through all instructions to find the last instruction each time .rela.discard.(un)reachable points beyond the section, use find_insn to locate the last instruction by looking at the last bytes of the section instead. Suggested-by: Josh Poimboeuf <[email protected]> Signed-off-by: Sami Tolvanen <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions