summaryrefslogtreecommitdiffstats
path: root/Documentation/features/debug
diff options
context:
space:
mode:
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>2017-04-19 18:22:24 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-24 19:07:57 +1000
commit2f59be5b970b503ca8db1cb723b155e455ebac8e (patch)
treead022579451aa590a33450abed9fd5d4426e7460 /Documentation/features/debug
parent22d8b3dec214cd43a773f621f95d254c50d2a092 (diff)
downloadop-kernel-dev-2f59be5b970b503ca8db1cb723b155e455ebac8e.zip
op-kernel-dev-2f59be5b970b503ca8db1cb723b155e455ebac8e.tar.gz
powerpc/ftrace: Restore LR from pt_regs
Pass the real LR to the ftrace handler. This is needed for KPROBES_ON_FTRACE for the pre handlers. Also, with KPROBES_ON_FTRACE, the link register may be updated by the pre handlers or by a registed kretprobe. Honor updated LR by restoring it from pt_regs, rather than from the stack save area. Live patch and function graph continue to work fine with this change. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation/features/debug')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud