Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142573
b: refs/heads/master
c: cc00e9c
h: refs/heads/master
i:
  142571: d5ecd93
v: v3
  • Loading branch information
Masami Hiramatsu authored and Linus Torvalds committed Apr 7, 2009
1 parent 62f6144 commit ab23805
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 99081ab553d6a88dd6b3774af5eef94dbb8faad7
refs/heads/master: cc00e9cfe0e5c4c31057c722e49fdf2c76dd5953
12 changes: 8 additions & 4 deletions trunk/include/linux/kprobes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit ab23805

Please sign in to comment.