aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <[email protected]>2015-07-16 13:24:54 -0400
committerSteven Rostedt <[email protected]>2015-07-20 22:30:50 -0400
commit72ac426a5bb0cec572d26b4456f8c1e14601694e (patch)
tree637bfb15ecc273161b4a5d49e6abc7b136fca6ac /tools/perf/scripts/python/stackcollapse.py
parentd90fd77402d3de56a9ca3df04e5d868d0979dc59 (diff)
tracing: Clean up stack tracing and fix fentry updates
Akashi Takahiro was porting the stack tracer to arm64 and found some issues with it. One was that it repeats the top function, due to the stack frame added by the mcount caller and added by itself. This was added when fentry came in, and before fentry created its own stack frame. But x86's fentry now creates its own stack frame, and there's no need to insert the function again. This also cleans up the code a bit, where it doesn't need to do something special for fentry, and doesn't include insertion of a duplicate entry for the called function being traced. Link: http://lkml.kernel.org/r/[email protected] Some-suggestions-by: Jungseok Lee <[email protected]> Some-suggestions-by: Mark Rutland <[email protected]> Reported-by: AKASHI Takahiro <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions