aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Dorobisz <[email protected]>2011-05-17 11:36:45 +0200
committerHenrik Nord <[email protected]>2011-08-30 15:22:19 +0200
commit4e3b8ccfa74785ca78f70e4d745c123037aada7f (patch)
treebb98a37b7d87790acd808ec87cf6989586ae479f
parentda2e84ecc3c3d537b8464ccd7f2e648ab06a4f86 (diff)
downloadotp-4e3b8ccfa74785ca78f70e4d745c123037aada7f.tar.gz
otp-4e3b8ccfa74785ca78f70e4d745c123037aada7f.tar.bz2
otp-4e3b8ccfa74785ca78f70e4d745c123037aada7f.zip
fixed documentation
-rw-r--r--lib/observer/doc/src/ttb.xml2
-rw-r--r--lib/observer/doc/src/ttb_ug.xml4
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/observer/doc/src/ttb.xml b/lib/observer/doc/src/ttb.xml
index 8531be93e3..c69d465914 100644
--- a/lib/observer/doc/src/ttb.xml
+++ b/lib/observer/doc/src/ttb.xml
@@ -158,7 +158,7 @@ ttb:p(all, call)</code>
network communication are always present. The timer starts after
<c>ttb:p/2</c> is issued, so you can set up your trace patterns before.
</p>
- <p>The <c>overload_protection</c> option allows to enable overload
+ <p>The <c>overload</c> option allows to enable overload
checking on the nodes under trace. <c>Module:Function(check)</c>
is performed each <c>MSec</c> milliseconds. If the check returns
<c>true</c>, the tracing is disabled on a given node.<br/>
diff --git a/lib/observer/doc/src/ttb_ug.xml b/lib/observer/doc/src/ttb_ug.xml
index 7079e88232..4f2b55a22a 100644
--- a/lib/observer/doc/src/ttb_ug.xml
+++ b/lib/observer/doc/src/ttb_ug.xml
@@ -170,7 +170,9 @@ ok ]]></code>
-module(mydebug).
-export([start/0,trc/1,stop/0,format/1]).
-export([print/4]).
-
+%% Include ms_transform.hrl so that I can use dbg:fun2ms/2 to
+%% generate match specifications.
+-include_lib("stdlib/include/ms_transform.hrl").
%%% -------------Tool API-------------
%%% ----------------------------------
%%% Star the "mydebug" tool