aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/kprobes.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-06-14 02:16:53 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-06-14 02:16:53 -0400
commiteaaaeef392cb245e415c31d480ed2d5a466fd88f (patch)
tree483761495ceb9cc3a277769f52d0ec8abeed1ac0 /arch/sh/include/asm/kprobes.h
parent9973e38575070b70c68bad177fb5056548fea349 (diff)
sh: Add kprobe-based event tracer.
This follows the x86/ppc changes for kprobe-based event tracing on sh. While kprobes is only supported on 32-bit sh, we provide the API for HAVE_REGS_AND_STACK_ACCESS_API for both 32 and 64-bit. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/kprobes.h')
-rw-r--r--arch/sh/include/asm/kprobes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/include/asm/kprobes.h b/arch/sh/include/asm/kprobes.h
index 036c3311233c..134f3980e44a 100644
--- a/arch/sh/include/asm/kprobes.h
+++ b/arch/sh/include/asm/kprobes.h
@@ -16,7 +16,6 @@ typedef insn_size_t kprobe_opcode_t;
16 ? (MAX_STACK_SIZE) \ 16 ? (MAX_STACK_SIZE) \
17 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) 17 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
18 18
19#define regs_return_value(_regs) ((_regs)->regs[0])
20#define flush_insn_slot(p) do { } while (0) 19#define flush_insn_slot(p) do { } while (0)
21#define kretprobe_blacklist_size 0 20#define kretprobe_blacklist_size 0
22 21