diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-04-06 19:01:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 08:31:08 -0700 |
commit | de5bd88d5a5cce3cacea904d3503e5ebdb3852a2 (patch) | |
tree | da24ac8b38d371ee03a21ed0f3647c518689ebd3 /kernel/cred.c | |
parent | e579abeb58eb4b8d7321c6eb44dd9e2d0cbaebaa (diff) | |
download | linux-de5bd88d5a5cce3cacea904d3503e5ebdb3852a2.tar.gz linux-de5bd88d5a5cce3cacea904d3503e5ebdb3852a2.tar.bz2 linux-de5bd88d5a5cce3cacea904d3503e5ebdb3852a2.zip |
kprobes: support per-kprobe disabling
Add disable_kprobe() and enable_kprobe() to disable/enable kprobes
temporarily.
disable_kprobe() asynchronously disables probe handlers of specified
kprobe. So, after calling it, some handlers can be called at a while.
enable_kprobe() enables specified kprobe.
aggr_pre_handler and aggr_post_handler check disabled probes. On the
other hand aggr_break_handler and aggr_fault_handler don't check it
because these handlers will be called while executing pre or post handlers
and usually those help error handling.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions