Skip to content

MIPS: Kprobes and Kretprobes Support

Himanshu Chauhan linux-mips lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MIPS: KProbes Supportarch/mips/Kconfig arch/mips/include/asm/break.h arch/mips/include/asm/kdebug.h +5 more+538 -30 replies
2/2MIPS: Kretprobe supportarch/mips/Kconfig arch/mips/kernel/kprobes.c+117 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] MIPS: Kprobes and Kretprobes Support

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.

---
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