|
@@ -94,12 +94,16 @@ struct kprobe {
|
|
|
/* Called after addr is executed, unless... */
|
|
|
kprobe_post_handler_t post_handler;
|
|
|
|
|
|
- /* ... called if executing addr causes a fault (eg. page fault).
|
|
|
- * Return 1 if it handled fault, otherwise kernel will see it. */
|
|
|
+ /*
|
|
|
+ * ... called if executing addr causes a fault (eg. page fault).
|
|
|
+ * Return 1 if it handled fault, otherwise kernel will see it.
|
|
|
+ */
|
|
|
kprobe_fault_handler_t fault_handler;
|
|
|
|
|
|
- /* ... called if breakpoint trap occurs in probe handler.
|
|
|
- * Return 1 if it handled break, otherwise kernel will see it. */
|
|
|
+ /*
|
|
|
+ * ... called if breakpoint trap occurs in probe handler.
|
|
|
+ * Return 1 if it handled break, otherwise kernel will see it.
|
|
|
+ */
|
|
|
kprobe_break_handler_t break_handler;
|
|
|
|
|
|
/* Saved opcode (which has been replaced with breakpoint) */
|