|
NAMEet_selector - Define event transforms and trace patternsDESCRIPTIONEXPORTSmake_pattern(RawPattern) -> TracePatternTypes: RawPattern = detail_level()
TracePattern = erlang_trace_pattern_match_spec() detail_level() = min | max | integer(X) when X >= 0, X =< 100 Makes a trace pattern suitable to feed change_pattern/1 Min detail level deactivates tracing of calls to et:trace_me/4,5 Max detail level activates tracing of all calls to et:trace_me/4,5 integer(X) detail level activates tracing of all calls to et:trace_me/4,5 whose detail level argument is lesser than X. See also erlang:trace_pattern/2 for more info about its match_spec() change_pattern(Pattern) -> ok
Types: Pattern = detail_level() | empty_match_spec() |
erlang_trace_pattern_match_spec()
detail_level() = min | max | integer(X) when X >= 0, X =< 100 empty_match_spec() = [] Activates/deactivates tracing by changing the current trace pattern. min detail level deactivates tracing of calls to et:trace_me/4,5 max detail level activates tracing of all calls to et:trace_me/4,5 integer(X) detail level activates tracing of all calls to et:trace_me/4,5 whose detail level argument is lesser than X. An empty match spec deactivates tracing of calls to et:trace_me/4,5 Other match specs activates tracing of calls to et:trace_me/4,5 accordingly with erlang:trace_pattern/2. parse_event(Mod, ValidTraceData) -> false | true | {true,
Event}
Types: Mod = module_name() | undefined
module_name() = atom() ValidTraceData = erlang_trace_data() | record(event) erlang_trace_data() = {trace, Pid, Label, Info} | {trace, Pid, Label, Info, Extra} | {trace_ts, Pid, Label, Info, ReportedTS} | {trace_ts, Pid, Label, Info, Extra, ReportedTS} | {seq_trace, Label, Info} | {seq_trace, Label, Info, ReportedTS} | {drop, NumberOfDroppedItems} Transforms trace data and makes an event record out of it. See erlang:trace/3 for more info about the semantics of the trace data. An event record consists of the following fields:
See et:trace_me/4and et:trace_me/5 for details. Returns:
Visit the GSP FreeBSD Man Page Interface. |