This is a set of 2 patches for adding support of kprobes and kretprobes support on MIPS architecture. All my tests are done on Qemu's MALTA board. If somebody has _real_ MIPS machine, I would appreciate a try on the machine. Signed-off-by: Himanshu Chauhan <hschauhan@xxxxxxxxxxxxx> --- Himanshu Chauhan (2): MIPS: KProbes Support MIPS: Kretprobe support arch/mips/Kconfig | 14 ++ arch/mips/include/asm/break.h | 2 + arch/mips/include/asm/kdebug.h | 5 + arch/mips/include/asm/kprobes.h | 86 +++++++ arch/mips/kernel/Makefile | 2 + arch/mips/kernel/kprobes.c | 493 +++++++++++++++++++++++++++++++++++++++ arch/mips/kernel/traps.c | 43 ++++- arch/mips/mm/fault.c | 12 +- 8 files changed, 654 insertions(+), 3 deletions(-) create mode 100644 arch/mips/include/asm/kprobes.h create mode 100644 arch/mips/kernel/kprobes.c