commit | 437d3e124d25daaa671bfecfd4015ecd2503a955 | [log] [tgz] |
---|---|---|
author | Tony Lu <zlu@ezchip.com> | Fri Mar 27 14:46:38 2015 -0400 |
committer | Chris Metcalf <cmetcalf@ezchip.com> | Fri Apr 17 14:01:38 2015 -0400 |
tree | ddc6e9491b9a14a09c6476d0543e9f4896dfd77d | |
parent | a84f24230c137a4e0ab14185e9175798ca1b0376 [diff] |
tile: ftrace: fix function_graph tracer issues - Add support for ARCH_SUPPORTS_FTRACE_OPS - Replace the instruction in ftrace_call with the bundle {move r10, lr; jal ftrace_stub}, so that the lr contains the right value after returning from ftrace_stub. An alternative fix might be to leave the instruction in ftrace_call alone when it is being updated with ftrace_stub. Signed-off-by: Tony Lu <zlu@ezchip.com> Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>