From 4e3b8ccfa74785ca78f70e4d745c123037aada7f Mon Sep 17 00:00:00 2001 From: Piotr Dorobisz Date: Tue, 17 May 2011 11:36:45 +0200 Subject: fixed documentation --- lib/observer/doc/src/ttb.xml | 2 +- lib/observer/doc/src/ttb_ug.xml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/observer/doc') 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) network communication are always present. The timer starts after ttb:p/2 is issued, so you can set up your trace patterns before.

-

The overload_protection option allows to enable overload +

The overload option allows to enable overload checking on the nodes under trace. Module:Function(check) is performed each MSec milliseconds. If the check returns true, the tracing is disabled on a given node.
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 ]]> -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 -- cgit v1.2.3