diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/kprobes.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h index 2ec6cc14a114..39826a678364 100644 --- a/include/linux/kprobes.h +++ b/include/linux/kprobes.h | |||
| @@ -94,12 +94,16 @@ struct kprobe { | |||
| 94 | /* Called after addr is executed, unless... */ | 94 | /* Called after addr is executed, unless... */ |
| 95 | kprobe_post_handler_t post_handler; | 95 | kprobe_post_handler_t post_handler; |
| 96 | 96 | ||
| 97 | /* ... called if executing addr causes a fault (eg. page fault). | 97 | /* |
| 98 | * Return 1 if it handled fault, otherwise kernel will see it. */ | 98 | * ... called if executing addr causes a fault (eg. page fault). |
| 99 | * Return 1 if it handled fault, otherwise kernel will see it. | ||
| 100 | */ | ||
| 99 | kprobe_fault_handler_t fault_handler; | 101 | kprobe_fault_handler_t fault_handler; |
| 100 | 102 | ||
| 101 | /* ... called if breakpoint trap occurs in probe handler. | 103 | /* |
| 102 | * Return 1 if it handled break, otherwise kernel will see it. */ | 104 | * ... called if breakpoint trap occurs in probe handler. |
| 105 | * Return 1 if it handled break, otherwise kernel will see it. | ||
| 106 | */ | ||
| 103 | kprobe_break_handler_t break_handler; | 107 | kprobe_break_handler_t break_handler; |
| 104 | 108 | ||
| 105 | /* Saved opcode (which has been replaced with breakpoint) */ | 109 | /* Saved opcode (which has been replaced with breakpoint) */ |
