diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2010-12-03 09:53:57 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-12-06 16:59:29 (GMT) |
commit | 6f0f1dd71953d4243c11e490dd49ef24ebaf6c0b (patch) | |
tree | 84a77def76610b59a2abfed87f548ab42b64da84 /arch/xtensa | |
parent | 6d8e40a85ef72a0514ebd00748eb18cab432b200 (diff) | |
download | linux-fsl-qoriq-6f0f1dd71953d4243c11e490dd49ef24ebaf6c0b.tar.xz |
kprobes: Cleanup disabling and unregistering path
Merge disabling kprobe to unregistering kprobe function
and add comments for disabing/unregistring process.
Current unregistering code disables(disarms) kprobes after
checking target kprobe status. This patch changes it to
disabling kprobe first after that it changing the kprobe's
state. This allows to share probe disabling code between
disable_kprobe() and unregister_kprobe().
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: 2nddept-manager@sdl.hitachi.co.jp
LKML-Reference: <20101203095356.2961.30152.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions