aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/kprobes.c
Commit message (Collapse)AuthorAge
* sh: kprobes: kretprobe_trampoline needs to be global.Paul Mundt2008-09-08
| | | | | | Needed by CONFIG_TRACING. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: __kprobes annotations and formatting cleanups.Paul Mundt2008-09-08
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Fix up race against probe point removal.Paul Mundt2008-09-08
| | | | | | | Handle a corner case where another CPU or debugger removes the probe point from underneath us. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Fix up a preemption imbalance on jprobe return.Paul Mundt2008-09-08
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Default to NOTIFY_DONE for unhandled debug traps.Paul Mundt2008-09-08
| | | | | | | | | Presently this is doing a force_sig() SIGTRAP, which is already taken care of in the generic code if no one asserts NOTIFY_STOP. Switch the default return to NOTIFY_DONE in the case of unhandled traps, so that the same trap may pass through to other users on the same die chain. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Use trapa #0x3a for breakpoint trap.Paul Mundt2008-09-08
| | | | | | | Not all parts support trapa #0xff, so use something within the debug trap range that's accessible on all parts. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kprobes: Hook up kprobe_fault_handler() in the page fault path.Paul Mundt2008-09-07
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Mark kretprobe_trampoline_holder static and __used.Paul Mundt2008-09-07
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add kprobes support.Chris Smith2008-09-07
Initial support for kprobes/kretprobes for 32-bit SH platforms. [ General cleanup and some rework for the kretprobe hash lock. -- PFM ] Signed-off-by: Chris Smith <chris.smith@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>