mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 06:16:41 +07:00
a4979a7e71
For DYNAMIC_FTRACE_WITH_REGS, we should be passing-in the original set
of registers in pt_regs, to capture the state _before_ ftrace_caller.
However, we are instead passing the stack pointer *after* allocating a
stack frame in ftrace_caller. Fix this by saving the proper value of r1
in pt_regs. Also, use SAVE_10GPRS() to simplify the code.
Fixes:
|
||
---|---|---|
.. | ||
ftrace_32.S | ||
ftrace_64_mprofile.S | ||
ftrace_64_pg.S | ||
ftrace_64.S | ||
ftrace.c | ||
Makefile | ||
trace_clock.c |