Revision: 1559 Author: teawater Date: Wed May 8 01:19:58 2013 Log: Update doc http://code.google.com/p/kgtp/source/detail?r=1559 Modified: /wiki/HOWTO.wiki /wiki/HOWTOCN.wiki ======================================= --- /wiki/HOWTO.wiki Wed May 8 00:36:16 2013 +++ /wiki/HOWTO.wiki Wed May 8 01:19:58 2013 @@ -1274,6 +1274,7 @@Define a normal tracepoint that stop the tracepoint that watch file->f_pos and file->f_op.
== Use while-stepping let Linux kernel do single step == +Please *note* that while-stepping is just support by X86 and X86_64 now. === Howto use while-stepping ===while-stepping is a special tracepoint action that include some actions with it.<br> When tracepoints that its actions include "while-stepping n" execute, it will do n times single steps and executes the actions of while-stepping. For example:
======================================= --- /wiki/HOWTOCN.wiki Wed May 8 00:36:16 2013 +++ /wiki/HOWTOCN.wiki Wed May 8 01:19:58 2013 @@ -1275,6 +1275,7 @@在函数file_sb_list_del中定义一个普通tracepoint,其将停止监视file->f_pos和 file->f_op。
== 使用while-stepping让Linux内核做单步 == +请 *注意* while-stepping现在只有X86和X86_64支持。 === 如何使用 while-stepping === while-stepping 是一种可以包含actions的特殊tracepoint action。<br>当一个actions中包含了“while-stepping n”的tracepoint执行的时候,其将做n次单 步并执行while-stepping的actions。例如: