summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>2017-04-19 14:52:26 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-24 11:07:58 +0200
commitead514d5fb30a0889d51c0f0e35c3e346165a955 (patch)
treea6fb97f2cfce93e5c8ff10351cd3f4763ae1fc4e /Documentation
parentpowerpc/ftrace: Restore LR from pt_regs (diff)
downloadlinux-ead514d5fb30a0889d51c0f0e35c3e346165a955.tar.xz
linux-ead514d5fb30a0889d51c0f0e35c3e346165a955.zip
powerpc/kprobes: Add support for KPROBES_ON_FTRACE
Allow kprobes to be placed on ftrace _mcount() call sites. This optimization avoids the use of a trap, by riding on ftrace infrastructure. This depends on HAVE_DYNAMIC_FTRACE_WITH_REGS which depends on MPROFILE_KERNEL, which is only currently enabled on powerpc64le with newer toolchains. Based on the x86 code by Masami. 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')
-rw-r--r--Documentation/features/debug/kprobes-on-ftrace/arch-support.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt b/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt
index 40f44d041fb4..930430c6aef6 100644
--- a/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt
+++ b/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt
@@ -27,7 +27,7 @@
| nios2: | TODO |
| openrisc: | TODO |
| parisc: | TODO |
- | powerpc: | TODO |
+ | powerpc: | ok |
| s390: | TODO |
| score: | TODO |
| sh: | TODO |