diff options
author | Steven Rostedt <[email protected]> | 2011-08-09 12:50:46 -0400 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2012-07-19 13:18:49 -0400 |
commit | a1e2e31d175a1349274eba3465d17616c6725f8c (patch) | |
tree | 5f92ba7a822f8a9911aa50157f796213bfac4ebb /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | ccf3672d530170c98c734dfc5db07d64bcbad2ad (diff) |
ftrace: Return pt_regs to function trace callback
Return as the 4th paramater to the function tracer callback the pt_regs.
Later patches that implement regs passing for the architectures will require
having the ftrace_ops set the SAVE_REGS flag, which will tell the arch
to take the time to pass a full set of pt_regs to the ftrace_ops callback
function. If the arch does not support it then it should pass NULL.
If an arch can pass full regs, then it should define:
ARCH_SUPPORTS_FTRACE_SAVE_REGS to 1
Link: http://lkml.kernel.org/r/[email protected]
Reviewed-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions