From 20cc39d443d1a2c364b0fb778c7813ae7b5a1dd6 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Tue, 11 Dec 2018 17:42:39 +0100 Subject: Add "since" attributes in xml for new functions and modules introduced after OTP_R13B03. --- lib/observer/doc/src/ttb.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/observer/doc/src/ttb.xml') diff --git a/lib/observer/doc/src/ttb.xml b/lib/observer/doc/src/ttb.xml index 7cd15e15d3..2aa2b0c8a5 100644 --- a/lib/observer/doc/src/ttb.xml +++ b/lib/observer/doc/src/ttb.xml @@ -44,7 +44,7 @@ - start_trace(Nodes, Patterns, FlagSpec, Opts) -> Result + start_trace(Nodes, Patterns, FlagSpec, Opts) -> Result Start a trace port on each specified node. Result = see p/2 @@ -573,7 +573,7 @@ ttb:p(all, call). - get_et_handler() + get_et_handler() Return the et handler.

Returns the et handler, which can be used with format/2 -- cgit v1.2.3 From 50f64c60b87e8d03fedc3f9f4e655aff8ca9f16c Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 12 Dec 2018 19:32:24 +0100 Subject: Add empty 'since' attribute for old modules and functions --- lib/observer/doc/src/ttb.xml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'lib/observer/doc/src/ttb.xml') diff --git a/lib/observer/doc/src/ttb.xml b/lib/observer/doc/src/ttb.xml index 2aa2b0c8a5..c42bb9c60c 100644 --- a/lib/observer/doc/src/ttb.xml +++ b/lib/observer/doc/src/ttb.xml @@ -33,7 +33,7 @@ PA1 ttb.xml - ttb + ttb A base for building trace tools for distributed systems.

The Trace Tool Builder, ttb, is a base for building trace @@ -76,7 +76,7 @@ ttb:p(all, call). - tracer() -> Result + tracer() -> Result Equivalent to tracer(node()).

Equivalent to tracer(node()).

@@ -84,7 +84,7 @@ ttb:p(all, call).
- tracer(Shortcut) -> Result + tracer(Shortcut) -> Result Handy shortcuts for common tracing settings. Shortcut = shell | dbg @@ -97,7 +97,7 @@ ttb:p(all, call). - tracer(Nodes) -> Result + tracer(Nodes) -> Result Equivalent to tracer(Nodes,[]).

Equivalent to tracer(Nodes,[]).

@@ -105,7 +105,7 @@ ttb:p(all, call).
- tracer(Nodes,Opts) -> Result + tracer(Nodes,Opts) -> Result Start a trace port on each specified node. Result = {ok, ActivatedNodes} | {error,Reason} @@ -243,7 +243,7 @@ ttb:p(all, call). - p(Item,Flags) -> Return + p(Item,Flags) -> Return Set the specified trace flags on the specified processes or ports. Return = {ok,[{Item,MatchDesc}]} @@ -338,7 +338,7 @@ ttb:p(all, call). - list_history() -> History + list_history() -> History Return all calls stored in history. History = [{N,Func,Args}] @@ -352,7 +352,7 @@ ttb:p(all, call). - run_history(N) -> ok | {error, Reason} + run_history(N) -> ok | {error, Reason} Execute one entry of the history. N = integer() | [integer()] @@ -364,7 +364,7 @@ ttb:p(all, call). - write_config(ConfigFile,Config) + write_config(ConfigFile,Config) Equivalent to write_config(ConfigFile,Config,[]).

Equivalent to write_config(ConfigFile,Config,[]).

@@ -372,7 +372,7 @@ ttb:p(all, call).
- write_config(ConfigFile,Config,Opts) -> ok | {error,Reason} + write_config(ConfigFile,Config,Opts) -> ok | {error,Reason} Create a configuration file. ConfigFile = string() @@ -405,7 +405,7 @@ ttb:p(all, call). - run_config(ConfigFile) -> ok | {error,Reason} + run_config(ConfigFile) -> ok | {error,Reason} Execute all entries in a configuration file. ConfigFile = string() @@ -418,7 +418,7 @@ ttb:p(all, call). - run_config(ConfigFile,NumList) -> ok | {error,Reason} + run_config(ConfigFile,NumList) -> ok | {error,Reason} Execute selected entries from a configuration file. ConfigFile = string() @@ -437,7 +437,7 @@ ttb:p(all, call). - list_config(ConfigFile) -> Config | {error,Reason} + list_config(ConfigFile) -> Config | {error,Reason} List all entries in a configuration file. ConfigFile = string() @@ -449,7 +449,7 @@ ttb:p(all, call). - write_trace_info(Key,Info) -> ok + write_trace_info(Key,Info) -> ok Write any information to file .ti. Key = term() @@ -465,7 +465,7 @@ ttb:p(all, call). - seq_trigger_ms() -> MatchSpec + seq_trigger_ms() -> MatchSpec Equivalent to seq_trigger_ms(all).

Equivalent to seq_trigger_ms(all).

@@ -473,7 +473,7 @@ ttb:p(all, call).
- seq_trigger_ms(Flags) -> MatchSpec + seq_trigger_ms(Flags) -> MatchSpec Return a match_spec() which starts sequential tracing. MatchSpec = match_spec() @@ -521,7 +521,7 @@ ttb:p(all, call). - stop() + stop() Equivalent to stop([]).

Equivalent to stop([]).

@@ -529,7 +529,7 @@ ttb:p(all, call).
- stop(Opts) -> stopped | {stopped, Dir} + stop(Opts) -> stopped | {stopped, Dir} Stop tracing and fetch/format logs from all nodes. Opts = Opt | [Opt] @@ -583,7 +583,7 @@ ttb:p(all, call). - format(File) + format(File) Equivalent to format(File,[]).

Equivalent to format(File,[]).

@@ -591,7 +591,7 @@ ttb:p(all, call).
- format(File,Options) -> ok | {error, Reason} + format(File,Options) -> ok | {error, Reason} Format a binary trace log. File = string() | [string()] -- cgit v1.2.3 From 606ed183e31bb68c453495caae1c9fad787d48ea Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 12 Dec 2018 19:26:25 +0100 Subject: Fix since attribute for troubled function docs --- lib/observer/doc/src/ttb.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/observer/doc/src/ttb.xml') diff --git a/lib/observer/doc/src/ttb.xml b/lib/observer/doc/src/ttb.xml index c42bb9c60c..fee95e0b21 100644 --- a/lib/observer/doc/src/ttb.xml +++ b/lib/observer/doc/src/ttb.xml @@ -277,7 +277,8 @@ ttb:p(all, call). - tp, tpl, tpe, ctp, ctpl, ctpg, ctpe + tp, tpl, ctp, ctpl, ctpg + tpe, ctpe Set and clear trace patterns.

These functions are to be used with trace -- cgit v1.2.3