From 43f3482adf5eee657e5ba922733dfff6600c4e14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?H=C3=A5kan=20Mattsson?= Makes a trace pattern suitable to feed change_pattern/1 Min detail level deactivates tracing of calls to phone_home/4,5 Max detail level activates tracing of all calls to phone_home/4,5 Min detail level deactivates tracing of calls to Max detail level activates tracing of all calls to integer(X) detail level activates tracing of all calls to
- phone_home/4,5 whose detail level argument is lesser than X. See also erlang:trace_pattern/2 for more info about its match_spec()
See also
Activates/deactivates tracing by changing the current trace pattern.
-Min detail level deactivates tracing of calls to phone_home/4,5
-Max detail level activates tracing of all calls to phone_home/4,5
-integer(X) detail level activates tracing of all calls to - phone_home/4,5 whose detail level argument is lesser than X.
-An empty match spec deactivates tracing of calls to phone_home/4,5
-Other match specs activates tracing of calls to phone_home/4,5 - accordingly with erlang:trace_pattern/2.
+An empty match spec deactivates tracing of calls to
Other match specs activates tracing of calls to
+
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: - detail_level - Noise has a high level as opposed to essentials. - trace_ts - Time when the trace was generated. - Same as event_ts if omitted in trace data. - event_ts - Time when the event record was created. - from - From actor, such as sender of a message. - to - To actor, such as receiver of message. - label - Label intended to provide a brief event summary. - contents - All nitty gritty details of the event.
-See et:phone_home/4 and et:phone_home/5 for details.
-Returns: - {true, Event} - where Event is an #event{} record representing the - trace data - true - means that the trace data already is an event - record and that it is valid as it is. - No transformation is needed. - false - means that the trace data is uninteresting and - should be dropped
+ +See
An event record consists of the following fields:
+Noise has a high level as opposed to essentials.
Time when the trace was generated. Same as + event_ts if omitted in trace data.
Time when the event record was created.
From actor, such as sender of a message.
To actor, such as receiver of message.
Label intended to provide a brief event summary.
All nitty gritty details of the event.
See
Returns:
+where Event is an #event{} record representing the + trace data
means that the trace data already is an event + record and that it is valid as it is. No transformation is + needed.
means that the trace data is uninteresting and + should be dropped