diff options
| author | Masami Hiramatsu <[email protected]> | 2009-04-06 19:01:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-07 08:31:08 -0700 |
| commit | de5bd88d5a5cce3cacea904d3503e5ebdb3852a2 (patch) | |
| tree | da24ac8b38d371ee03a21ed0f3647c518689ebd3 /tools/perf/scripts/python | |
| parent | e579abeb58eb4b8d7321c6eb44dd9e2d0cbaebaa (diff) | |
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 <[email protected]>
Acked-by: Ananth N Mavinakayanahalli <[email protected]>
Cc: Anil S Keshavamurthy <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions