aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJun-Ru Chang <[email protected]>2019-01-29 03:56:07 +0000
committerPaul Burton <[email protected]>2019-02-04 23:15:34 +0000
commit2b424cfc69728224fcb5fad138ea7260728e0901 (patch)
tree6bc0315b36be070a44ebaa612c06646d64b28607 /tools/perf/scripts/python/mem-phys-addr.py
parentMIPS: Use lower case for addresses in nexys4ddr.dts (diff)
downloadkernel-2b424cfc69728224fcb5fad138ea7260728e0901.tar.gz
kernel-2b424cfc69728224fcb5fad138ea7260728e0901.zip
MIPS: Remove function size check in get_frame_info()
Patch (b6c7a324df37b "MIPS: Fix get_frame_info() handling of microMIPS function size.") introduces additional function size check for microMIPS by only checking insn between ip and ip + func_size. However, func_size in get_frame_info() is always 0 if KALLSYMS is not enabled. This causes get_frame_info() to return immediately without calculating correct frame_size, which in turn causes "Can't analyze schedule() prologue" warning messages at boot time. This patch removes func_size check, and let the frame_size check run up to 128 insns for both MIPS and microMIPS. Signed-off-by: Jun-Ru Chang <[email protected]> Signed-off-by: Tony Wu <[email protected]> Signed-off-by: Paul Burton <[email protected]> Fixes: b6c7a324df37b ("MIPS: Fix get_frame_info() handling of microMIPS function size.") Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions