lkml.org 
[lkml]   [2010]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH][UPDATED] MIPS: Kprobe support v0.2
Date
This updated version of patch incorporates some of the comments
from Daney. The list of changes are as follows:
o Instead of separate handler "do_break", do_bp is used to
track and handle kprobe induced breaks. This cleans up ugly
ifdef hack.
o Instead of using 0 and 5 code in break, new kprobe specific
defines (515, 516) have been added and handled.

The use of notify_die could not be dropped because the kprobes
framework installs handlers on notify_die chain.

Himanshu Chauhan (1):
MIPS: Kprobe support v0.2 This incorporates some of the comments
from Daney.

arch/mips/Kconfig | 13 ++
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 | 379 +++++++++++++++++++++++++++++++++++++++
arch/mips/kernel/traps.c | 46 +++++-
arch/mips/mm/fault.c | 11 +-
8 files changed, 541 insertions(+), 3 deletions(-)
create mode 100644 arch/mips/include/asm/kprobes.h
create mode 100644 arch/mips/kernel/kprobes.c



\
 
 \ /
  Last update: 2010-06-12 20:47    [W:0.029 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site