aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/match_spec.xml
AgeCommit message (Collapse)Author
2016-05-12erts: Add send/receive trace to match spec user guideSverker Eriksson
Introduce section/terminology "Match target".
2016-05-12erts: Fix confusion among match spec examplesSverker Eriksson
Tracing and ETS examples were not separated correctly under the corresponding headings.
2016-04-15erts: Add tracing examples in match spec docsLukas Larsson
2016-04-15erts: Implement tracer modulesLukas Larsson
Add the possibility to use modules as trace data receivers. The functions in the module have to be nifs as otherwise complex trace probes will be very hard to handle (complex means trace probes for ports for example). This commit changes the way that the ptab->tracer field works from always being an immediate, to now be NIL if no tracer is present or else be the tuple {TracerModule, TracerState} where TracerModule is an atom that is later used to lookup the appropriate tracer callbacks to call and TracerState is just passed to the tracer callback. The default process and port tracers have been rewritten to use the new API. This commit also changes the order which trace messages are delivered to the potential tracer process. Any enif_send done in a tracer module may be delayed indefinitely because of lock order issues. If a message is delayed any other trace message send from that process is also delayed so that order is preserved for each traced entity. This means that for some trace events (i.e. send/receive) the events may come in an unintuitive order (receive before send) to the trace receiver. Timestamps are taken when the trace message is generated so trace messages from differented processes may arrive with the timestamp out of order. Both the erlang:trace and seq_trace:set_system_tracer accept the new tracer module tracers and also the backwards compatible arguments. OTP-10267
2016-03-15update copyright-yearHenrik Nord
2015-06-18Change license text to APLv2Bruce Yinhe
2014-08-20Properly support maps in match_specsAnthony Ramine
2013-04-19Convert XML files to UTF-8Hans Bolinder
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-01-26Remove references to is_constant/1 from the match spec documentationBjörn Gustavsson
is_constant/1 was removed in R13B.
2010-06-02Add match_specification grammar documentation specifically for etsPatrik Nyblom
2010-05-17Fix typo in code exampleRaimo Niskanen
Reported by Uwe Dauernheim.
2010-02-10OTP-8422 Removed bogus "\011" character sequence in documentation.Hans Bolinder
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP