Behaviours: gen_server.
all_monitored/0 | Returns list of monitored functions. |
code_change/3 | |
data/2 | Returns metrics gathered for particular function. |
demonitor/1 | Stops monitoring specified function calls. |
handle_call/3 | |
handle_cast/2 | |
handle_info/2 | |
init/1 | |
monitor/1 | Starts monitoring specified function calls. |
start_link/0 | Starts xprof tracer process. |
terminate/2 | |
trace/1 | Turns on or resumes tracing for a process specified by pid, all processes or processes that are spawned by specified spawner pid. |
trace_status/0 | Returns current tracing state. |
all_monitored() -> [{xprof:mfa_id(), binary()}]
Returns list of monitored functions
code_change(OldVsn, State, Extra) -> any()
data(MFA::xprof:mfa_id(), TS::non_neg_integer()) -> [proplists:proplist()] | {error, not_found}
Returns metrics gathered for particular function.
demonitor(MFA::xprof:mfa_id()) -> ok
Stops monitoring specified function calls.
handle_call(Request, From, State) -> any()
handle_cast(Msg, State) -> any()
handle_info(Msg, State) -> any()
init(X1) -> any()
monitor(Query::mfa() | string()) -> ok | {error, term()}
Starts monitoring specified function calls.
start_link() -> {ok, pid()}
Starts xprof tracer process.
terminate(Reason, State) -> any()
trace(PidOrSpec::pid() | pause | resume | all | {spawner, pid()}) -> ok
Turns on or resumes tracing for a process specified by pid, all processes or processes that are spawned by specified spawner pid.
trace_status() -> {all | {spawner, pid(), float()} | pid(), Status::paused | running | overflow | initialized}
Returns current tracing state.
Generated by EDoc, Dec 12 2017, 10:42:28.