diff options
| author | Naveen N. Rao <[email protected]> | 2018-04-19 12:34:09 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-05-03 22:32:29 +1000 |
| commit | ae30cc05bed2fd7eb05e4fb53f412783f05ccb7b (patch) | |
| tree | b4293c28d14cb058d79585c44e5e60383df213a5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9ef404236438bf4934386dc2aa34ba7f0a9e1934 (diff) | |
powerpc64/ftrace: Implement support for ftrace_regs_caller()
With -mprofile-kernel, we always save the full register state in
ftrace_caller(). While this works, this is inefficient if we're not
interested in the register state, such as when we're using the function
tracer.
Rename the existing ftrace_caller() as ftrace_regs_caller() and provide
a simpler implementation for ftrace_caller() that is used when registers
are not required to be saved.
Signed-off-by: Naveen N. Rao <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions