提交 cc00e9cf 编写于 作者: M Masami Hiramatsu 提交者: Linus Torvalds

kprobes: cleanup comment style in kprobes.h

Fix comment style in kprobes.h.
Signed-off-by: NMasami Hiramatsu <mhiramat@redhat.com>
Acked-by: NAnanth 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: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 99081ab5
...@@ -94,12 +94,16 @@ struct kprobe { ...@@ -94,12 +94,16 @@ struct kprobe {
/* Called after addr is executed, unless... */ /* Called after addr is executed, unless... */
kprobe_post_handler_t post_handler; 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; 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; kprobe_break_handler_t break_handler;
/* Saved opcode (which has been replaced with breakpoint) */ /* Saved opcode (which has been replaced with breakpoint) */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册