diff options
author | Wu Zhangjin <[email protected]> | 2011-01-22 02:01:53 +0800 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2011-03-14 21:07:24 +0100 |
commit | b9f07eb2f25a64098e2ba223c1a2fe2a8f249e01 (patch) | |
tree | 1b52def8282e9faa067acb9fc360cbc10ff03fc1 /tools/perf/scripts/python/futex-contention.py | |
parent | 7f21a60968221eabad5c53fe760db3d094994011 (diff) |
MIPS, Tracing: Fix set_graph_function of function graph tracer
trace.func should be set to the recorded ip of the mcount calling site
in the __mcount_loc section to filter the function entries configured
through the tracing/set_graph_function interface, but before, this is
set to the self_ra(the return address of mcount), which has made
set_graph_function not work as expected.
This fixes it via calculating the right recorded ip in the __mcount_loc
section and assign it to trace.func.
Reported-by: Zhiping Zhong <[email protected]>
Signed-off-by: Wu Zhangjin <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Sergei Shtylyov <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/2017/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions