sh: Add kprobe-based event tracer.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 14 Jun 2010 06:16:53 +0000 (15:16 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 14 Jun 2010 06:16:53 +0000 (15:16 +0900)
commiteaaaeef392cb245e415c31d480ed2d5a466fd88f
tree483761495ceb9cc3a277769f52d0ec8abeed1ac0
parent9973e38575070b70c68bad177fb5056548fea349
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>
arch/sh/Kconfig
arch/sh/include/asm/kprobes.h
arch/sh/include/asm/processor_32.h
arch/sh/include/asm/processor_64.h
arch/sh/include/asm/ptrace.h
arch/sh/kernel/Makefile
arch/sh/kernel/ptrace.c [new file with mode: 0644]
arch/sh/kernel/ptrace_32.c
arch/sh/kernel/ptrace_64.c