Revision: 920 Author: teawater Date: Fri Feb 17 07:11:56 2012 Log: Fix error of doc about $ignore_error. http://code.google.com/p/kgtp/source/detail?r=920 Modified: /trunk/UPDATE /trunk/gtp.txt /trunk/gtp_for_review.patch /wiki/HOWTO.wiki ======================================= --- /trunk/UPDATE Fri Feb 17 06:49:57 2012 +++ /trunk/UPDATE Fri Feb 17 07:11:56 2012 @@ -10,6 +10,8 @@* Change code to ignore the task that read the /sys/kernel/debug/gtpframe_pipe in default. And add special trace state variable $pipe_trace to control it.
+* Fix error of doc about $ignore_error. + *** 20120131 * https://lkml.org/lkml/2012/1/31/215 ======================================= --- /trunk/gtp.txt Thu Dec 29 04:31:48 2011 +++ /trunk/gtp.txt Fri Feb 17 07:11:56 2012 @@ -2,7 +2,7 @@ ========================================= By Hui Zhu <teawater@xxxxxxxxx> https://code.google.com/p/kgtp/wiki/HOWTO - 2011-12-16 + 2012-02-17 Table of contents ----------------- @@ -778,12 +778,12 @@ And the last error number will available in "$last_errno". --------------------------------- -tvariable $ignore_error +tvariable $ignore_error=1 --------------------------------- This command will open ignore. --------------------------------- -delete tvariable $ignore_error +tvariable $ignore_error=0 --------------------------------- This command will close ignore. ======================================= --- /trunk/gtp_for_review.patch Fri Feb 17 07:02:46 2012 +++ /trunk/gtp_for_review.patch Fri Feb 17 07:11:56 2012 @@ -23,7 +23,7 @@ + ========================================= + By Hui Zhu <teawater@xxxxxxxxx> + https://code.google.com/p/kgtp/wiki/HOWTO -+ 2011-12-16 ++ 2012-02-17 + +Table of contents +----------------- @@ -799,12 +799,12 @@ +And the last error number will available in "$last_errno". + +--------------------------------- -+tvariable $ignore_error ++tvariable $ignore_error=1 +--------------------------------- +This command will open ignore. + +--------------------------------- -+delete tvariable $ignore_error ++tvariable $ignore_error=0 +--------------------------------- +This command will close ignore. + ======================================= --- /wiki/HOWTO.wiki Sun Dec 18 03:52:22 2011 +++ /wiki/HOWTO.wiki Fri Feb 17 07:11:56 2012 @@ -1,5 +1,5 @@ #labels Phase-QA,Phase-Deploy -Update in 2011-12-16 +Update in 2012-02-17 <wiki:toc max_depth="3" /> = What is KGTP =*KGTP* is a *realtime* and *lightweight* Linux Kernel *debugger* and *tracer*.<br><br>
@@ -481,11 +481,11 @@But sometime we need ignore this error and let KGTP keep work. For example: If you set tracepoint on the inline function spin_lock. This tracepoint will be set to a lot of addresses that some of them cannot be set kprobe. It will make tstart get fail. You can use "$ignore_error" ignore this error.<br>
And the last error number will available in "$last_errno". {{{ -tvariable $ignore_error +tvariable $ignore_error=1 }}} This command will open ignore. {{{ -delete tvariable $ignore_error +tvariable $ignore_error=0 }}} This command will close ignore.