aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJulien Thierry <[email protected]>2020-04-03 13:17:30 +0000
committerPeter Zijlstra <[email protected]>2020-04-22 21:14:46 +0000
commit7f9b34f36cf6b2099f19e679a9e8315c955ef2ee (patch)
tree1ef18a8b85549cc38e021ba4104c8b84bc32f8a6 /tools/perf/scripts/python/exported-sql-viewer.py
parentobjtool: Fix 32bit cross builds (diff)
downloadkernel-7f9b34f36cf6b2099f19e679a9e8315c955ef2ee.tar.gz
kernel-7f9b34f36cf6b2099f19e679a9e8315c955ef2ee.zip
objtool: Fix off-by-one in symbol_by_offset()
Sometimes, WARN_FUNC() and other users of symbol_by_offset() will associate the first instruction of a symbol with the symbol preceding it. This is because symbol->offset + symbol->len is already outside of the symbol's range. Fixes: 2a362ecc3ec9 ("objtool: Optimize find_symbol_*() and read_symbols()") Signed-off-by: Julien Thierry <[email protected]> Reviewed-by: Miroslav Benes <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions