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/tools/doc/src/fprof.xml | 50 ++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'lib/tools/doc/src/fprof.xml') diff --git a/lib/tools/doc/src/fprof.xml b/lib/tools/doc/src/fprof.xml index 1fd828d127..4bb8862016 100644 --- a/lib/tools/doc/src/fprof.xml +++ b/lib/tools/doc/src/fprof.xml @@ -32,7 +32,7 @@ PA1 fprof.sgml - fprof + fprof A Time Profiling Tool using trace to file for minimal runtime performance impact.

This module is used to profile a program @@ -101,7 +101,7 @@ - start() -> {ok, Pid} | {error, {already_started, Pid}} + start() -> {ok, Pid} | {error, {already_started, Pid}} Starts the fprof server. Pid = pid() @@ -117,14 +117,14 @@ - stop() -> ok + stop() -> ok Same as stop(normal).

Same as stop(normal).

- stop(Reason) -> ok + stop(Reason) -> ok Stops the fprof server. Reason = term() @@ -149,7 +149,7 @@ - apply(Func, Args) -> term() + apply(Func, Args) -> term() Same as apply(Func, Args, []). Func = function() | {Module, Function} @@ -162,7 +162,7 @@ - apply(Module, Function, Args) -> term() + apply(Module, Function, Args) -> term() Same as apply({Module, Function}, Args, []). Args = [term()] @@ -174,7 +174,7 @@ - apply(Func, Args, OptionList) -> term() + apply(Func, Args, OptionList) -> term() Calls erlang:apply(Func, Args)surrounded bytrace([start | OptionList])andtrace(stop). Func = function() | {Module, Function} @@ -210,7 +210,7 @@ - apply(Module, Function, Args, OptionList) -> term() + apply(Module, Function, Args, OptionList) -> term() Same as apply({Module, Function}, Args, OptionList). Module = atom() @@ -228,7 +228,7 @@ - trace(start, Filename) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + trace(start, Filename) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as trace([start, {file, Filename}]). Reason = term() @@ -238,7 +238,7 @@ - trace(verbose, Filename) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + trace(verbose, Filename) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as trace([start, verbose, {file, Filename}]). Reason = term() @@ -249,7 +249,7 @@ - trace(OptionName, OptionValue) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + trace(OptionName, OptionValue) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as trace([{OptionName, OptionValue}]). OptionName = atom() @@ -262,7 +262,7 @@ - trace(verbose) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + trace(verbose) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as trace([start, verbose]). Reason = term() @@ -272,7 +272,7 @@ - trace(OptionName) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + trace(OptionName) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as trace([OptionName]). OptionName = atom() @@ -283,7 +283,7 @@ - trace({OptionName, OptionValue}) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + trace({OptionName, OptionValue}) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as trace([{OptionName, OptionValue}]). OptionName = atom() @@ -296,7 +296,7 @@ - trace([Option]) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + trace([Option]) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Starts or stops tracing. Option = start | stop | {procs, PidSpec} | {procs, [PidSpec]} | verbose | {verbose, bool()} | file | {file, Filename} | {tracer, Tracer} @@ -360,7 +360,7 @@ - profile() -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + profile() -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as profile([]). Reason = term() @@ -370,7 +370,7 @@ - profile(OptionName, OptionValue) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + profile(OptionName, OptionValue) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as profile([{OptionName, OptionValue}]). OptionName = atom() @@ -383,7 +383,7 @@ - profile(OptionName) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + profile(OptionName) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as profile([OptionName]). OptionName = atom() @@ -394,7 +394,7 @@ - profile({OptionName, OptionValue}) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + profile({OptionName, OptionValue}) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as profile([{OptionName, OptionValue}]). OptionName = atom() @@ -407,7 +407,7 @@ - profile([Option]) -> ok | {ok, Tracer} | {error, Reason} | {'EXIT', ServerPid, Reason} + profile([Option]) -> ok | {ok, Tracer} | {error, Reason} | {'EXIT', ServerPid, Reason} Compiles a trace into raw profile data held by the fprof server. Option = file | {file, Filename} | dump | {dump, Dump} | append | start | stop @@ -465,7 +465,7 @@ - analyse() -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + analyse() -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as analyse([]). Reason = term() @@ -475,7 +475,7 @@ - analyse(OptionName, OptionValue) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + analyse(OptionName, OptionValue) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as analyse([{OptionName, OptionValue}]). OptionName = atom() @@ -488,7 +488,7 @@ - analyse(OptionName) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + analyse(OptionName) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as analyse([OptionName]). OptionName = atom() @@ -499,7 +499,7 @@ - analyse({OptionName, OptionValue}) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + analyse({OptionName, OptionValue}) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Same as analyse([{OptionName, OptionValue}]). OptionName = atom() @@ -512,7 +512,7 @@ - analyse([Option]) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} + analyse([Option]) -> ok | {error, Reason} | {'EXIT', ServerPid, Reason} Analyses raw profile data in the fprof server. Option = dest | {dest, Dest} | append | {cols, Cols} | callers | {callers, bool()} | no_callers | {sort, SortSpec} | totals | {totals, bool()} | details | {details, bool()} | no_details -- cgit v1.2.3