From: David Daney on 3 Aug 2010 14:30 This patch set adds KProbs, JProbs and KRetProbes support for the MIPS archetecture. It was tested on a 64-bit big-endian kernel (Octeon), but should work equally well on 32-bit and little-endian as well. As you can see from the patches it is partially based on previous work by Sony and Himanshu Chauhan. David Daney (5): MIPS: Define regs_return_value() MIPS: Add instrunction format for BREAK and SYSCALL MIPS: Add KProbe support. samples: kprobe_example: Make it print something on MIPS. documentation: Mention that KProbes is supported on MIPS Documentation/kprobes.txt | 1 + arch/mips/Kconfig | 2 + arch/mips/Makefile | 3 + arch/mips/include/asm/break.h | 2 + arch/mips/include/asm/inst.h | 15 +- arch/mips/include/asm/kdebug.h | 3 + arch/mips/include/asm/kprobes.h | 91 ++++++ arch/mips/include/asm/ptrace.h | 1 + arch/mips/kernel/Makefile | 1 + arch/mips/kernel/kprobes.c | 562 ++++++++++++++++++++++++++++++++++++++ arch/mips/kernel/traps.c | 22 ++- arch/mips/mm/fault.c | 15 +- samples/kprobes/kprobe_example.c | 9 + 13 files changed, 724 insertions(+), 3 deletions(-) create mode 100644 arch/mips/include/asm/kprobes.h create mode 100644 arch/mips/kernel/kprobes.c -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: kernel: rounddown helper function Next: [PATCH 1/5] MIPS: Define regs_return_value() |