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/runtime_tools/doc/src/dbg.xml | 4 +-- lib/runtime_tools/doc/src/dyntrace.xml | 32 ++++++++++++------------ lib/runtime_tools/doc/src/msacc.xml | 32 ++++++++++++------------ lib/runtime_tools/doc/src/scheduler.xml | 12 ++++----- lib/runtime_tools/doc/src/system_information.xml | 6 ++--- 5 files changed, 43 insertions(+), 43 deletions(-) (limited to 'lib/runtime_tools') diff --git a/lib/runtime_tools/doc/src/dbg.xml b/lib/runtime_tools/doc/src/dbg.xml index 3262cafefc..06701ed5b4 100644 --- a/lib/runtime_tools/doc/src/dbg.xml +++ b/lib/runtime_tools/doc/src/dbg.xml @@ -442,7 +442,7 @@ Error: fun containing local erlang function calls ('is_atomm' called in guard)\ - tpe(Event, MatchSpec) -> {ok, MatchDesc} | {error, term()} + tpe(Event, MatchSpec) -> {ok, MatchDesc} | {error, term()} Set pattern for traced event Event = send | 'receive' @@ -607,7 +607,7 @@ Error: fun containing local erlang function calls ('is_atomm' called in guard)\ - ctpe(Event) -> {ok, MatchDesc} | {error, term()} + ctpe(Event) -> {ok, MatchDesc} | {error, term()} Clear trace pattern for the specified event Event = send | 'receive' diff --git a/lib/runtime_tools/doc/src/dyntrace.xml b/lib/runtime_tools/doc/src/dyntrace.xml index 0cdcecab68..4935dfcd71 100644 --- a/lib/runtime_tools/doc/src/dyntrace.xml +++ b/lib/runtime_tools/doc/src/dyntrace.xml @@ -32,7 +32,7 @@ A dyntrace.xml - dyntrace + dyntrace Interface to dynamic tracing

This module implements interfaces to dynamic tracing, should such be compiled into the virtual machine. For a standard and/or commercial build, no dynamic tracing is available, in which case none of the functions in this module is usable or give any effect.

@@ -47,7 +47,7 @@
- available() -> boolean() + available() -> boolean() Check if dynamic tracing is available

This function uses the NIF library to determine if dynamic @@ -59,42 +59,42 @@ - p() -> true | false | error | badarg + p() -> true | false | error | badarg Trigger the user trace probe.

Calling this function will trigger the "user" trace probe user_trace_i4s4 in the dyntrace NIF module, sending a trace message only containing the user tag and zeroes/empty strings in all other fields.

- p(integer() | string()) -> true | false | error | badarg + p(integer() | string()) -> true | false | error | badarg Trigger the user trace probe.

Calling this function will trigger the "user" trace probe user_trace_i4s4 in the dyntrace NIF module, sending a trace message containing the user tag and the integer or string parameter in the first integer/string field.

- p(integer() | string(), integer() | string()) -> true | false | error | badarg + p(integer() | string(), integer() | string()) -> true | false | error | badarg Trigger the user trace probe.

Calling this function will trigger the "user" trace probe user_trace_i4s4 in the dyntrace NIF module, sending a trace message containing the user tag and the integer() or string() parameters as the first fields of respective type. integer() parameters should be put before any string() parameters. I.e. p(1,"Hello") is ok, as is p(1,1) and p("Hello","Again"), but not p("Hello",1).

- p(integer() | string(), integer() | string(), integer() | string()) -> true | false | error | badarg + p(integer() | string(), integer() | string(), integer() | string()) -> true | false | error | badarg Trigger the user trace probe.

Calling this function will trigger the "user" trace probe user_trace_i4s4 in the dyntrace NIF module, sending a trace message containing the user tag and the integer() or string() parameters as the first fields of respective type. integer() parameters should be put before any string() parameters, as in p/2.

- p(integer() | string(), integer() | string(), integer() | string(), integer() | string()) -> true | false | error | badarg + p(integer() | string(), integer() | string(), integer() | string(), integer() | string()) -> true | false | error | badarg Trigger the user trace probe.

Calling this function will trigger the "user" trace probe user_trace_i4s4 in the dyntrace NIF module, sending a trace message containing the user tag and the integer() or string() parameters as the first fields of respective type. integer() parameters should be put before any string() parameters, as in p/2.

- p(integer(), integer() | string(), integer() | string(), integer() | string(), string()) -> true | false | error | badarg + p(integer(), integer() | string(), integer() | string(), integer() | string(), string()) -> true | false | error | badarg Trigger the user trace probe.

Calling this function will trigger the "user" trace probe user_trace_i4s4 in the dyntrace NIF module, sending a trace message containing the user tag and the integer() or string() parameters as the first fields of respective type. integer() parameters should be put before any string() parameters, as in p/2.

@@ -102,7 +102,7 @@
- p(integer(), integer(), integer() | string(), integer() | string(), string(), string()) -> true | false | error | badarg + p(integer(), integer(), integer() | string(), integer() | string(), string(), string()) -> true | false | error | badarg Trigger the user trace probe.

Calling this function will trigger the "user" trace probe user_trace_i4s4 in the dyntrace NIF module, sending a trace message containing the user tag and the integer() or string() parameters as the first fields of respective type. integer() parameters should be put before any string() parameters, as in p/2.

@@ -110,7 +110,7 @@
- p(integer(), integer(), integer(), integer() | string(), string(), string(), string()) -> true | false | error | badarg + p(integer(), integer(), integer(), integer() | string(), string(), string(), string()) -> true | false | error | badarg Trigger the user trace probe.

Calling this function will trigger the "user" trace probe user_trace_i4s4 in the dyntrace NIF module, sending a trace message containing the user tag and the integer() or string() parameters as the first fields of respective type. integer() parameters should be put before any string() parameters, as in p/2.

@@ -118,14 +118,14 @@
- p(integer(), integer(), integer(), integer(), string(), string(), string(), string()) -> true | false | error | badarg + p(integer(), integer(), integer(), integer(), string(), string(), string(), string()) -> true | false | error | badarg Trigger the user trace probe.

Calling this function will trigger the "user" trace probe user_trace_i4s4 in the dyntrace NIF module, sending a trace message containing all the integer()'s and string()'s provided, as well as any user tag set in the current process.

- get_tag() -> binary() | undefined + get_tag() -> binary() | undefined Get the user tag set in the process.

This function returns the user tag set in the current @@ -134,7 +134,7 @@ - get_tag() -> binary() | undefined + get_tag() -> binary() | undefined Get the user tag set in the process or sent to the process.

This function returns the user tag set in the current @@ -151,7 +151,7 @@ - put_tag(Item) -> binary() | undefined + put_tag(Item) -> binary() | undefined Set the user tag of the current process. Item = iodata() @@ -163,7 +163,7 @@ - spread_tag(boolean()) -> TagData + spread_tag(boolean()) -> TagData Start or stop spreading dynamic trace user tags with the next message. TagData = opaque data that can be used as parameter to restore_tag/1 @@ -185,7 +185,7 @@ f() -> - restore_tag(TagData) -> true + restore_tag(TagData) -> true Restore to a previous state of user tag spreading. TagData = opaque data returned by spread_tag/1 diff --git a/lib/runtime_tools/doc/src/msacc.xml b/lib/runtime_tools/doc/src/msacc.xml index 129da3d230..ae089de8d0 100644 --- a/lib/runtime_tools/doc/src/msacc.xml +++ b/lib/runtime_tools/doc/src/msacc.xml @@ -31,7 +31,7 @@ A msacc.xml - msacc + msacc Convenience functions for microstate accounting

This module implements some convenience functions for analyzing @@ -146,7 +146,7 @@ ok - + Check if microstate accounting is available

This function checks whether microstate accounting @@ -154,7 +154,7 @@ ok - + Start microstate accounting.

Start microstate accounting. Returns whether it was @@ -162,7 +162,7 @@ ok - + Start microstate accounting for a time.

Resets all counters and then starts microstate accounting @@ -170,7 +170,7 @@ ok - + Stop microstate accounting.

Stop microstate accounting. @@ -178,7 +178,7 @@ ok - + Reset microstate accounting counters

Reset microstate accounting counters. @@ -186,7 +186,7 @@ ok - + Print microstate statistics

@@ -199,7 +199,7 @@ ok - + Print microstate statistics

Print the given microstate statistics values to stdout. @@ -211,7 +211,7 @@ ok - + Print microstate statistics

Print the given microstate statistics values to standard out. @@ -234,7 +234,7 @@ ok - + Print microstate statistics

Print the given microstate statistics values to the given file @@ -243,7 +243,7 @@ ok - +

Returns a runtime system independent version of the microstate @@ -254,7 +254,7 @@ ok - +

Returns the system time for the given microstate statistics values. @@ -269,7 +269,7 @@ ok - +

Returns fractions of real-time or run-time spent in the various @@ -277,7 +277,7 @@ ok - +

Returns a list of microstate statistics values where the values @@ -285,7 +285,7 @@ ok - +

Dumps the current microstate statistics counters to a file that can @@ -294,7 +294,7 @@ ok - +

Read a file dump produced by diff --git a/lib/runtime_tools/doc/src/scheduler.xml b/lib/runtime_tools/doc/src/scheduler.xml index dd8bf73bae..b033430183 100644 --- a/lib/runtime_tools/doc/src/scheduler.xml +++ b/lib/runtime_tools/doc/src/scheduler.xml @@ -32,7 +32,7 @@ scheduler.xml - scheduler + scheduler Measure scheduler utilization

This module contains utility functions for easier measurement and @@ -84,7 +84,7 @@ - + Get scheduler utilization sample.

Return a scheduler utilization sample for normal and dirty-cpu @@ -93,7 +93,7 @@ - + Get scheduler utilization sample.

Return a scheduler utilization sample for all schedulers, @@ -102,7 +102,7 @@ - + Measure scheduler utilizations during a period of time.

Measure utilization for normal and dirty-cpu schedulers during @@ -111,7 +111,7 @@ - + Measure scheduler utilizations since sample.

Calculate scheduler utilizations for the time interval from when @@ -121,7 +121,7 @@ - + Measure scheduler utilizations between two samples.

Calculates scheduler utilizations for the time interval between diff --git a/lib/runtime_tools/doc/src/system_information.xml b/lib/runtime_tools/doc/src/system_information.xml index 53dc595e64..a356b5c6f8 100644 --- a/lib/runtime_tools/doc/src/system_information.xml +++ b/lib/runtime_tools/doc/src/system_information.xml @@ -32,14 +32,14 @@ system_information.xml - system_information + system_information System Information

- + Perform a sanity check

Performs a sanity check on the system. If no issues @@ -88,7 +88,7 @@ - + Write miscellaneous system information to file

Writes miscellaneous system information to file. This information will typically be requested by the Erlang/OTP team -- cgit v1.2.3