Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-26 | erts: Expand trace tests for refc binaries | Lukas Larsson | |
Make sure to cover all of the refc binary cases in tracing | |||
2016-04-15 | erts: Implement tracer modules | Lukas 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-15 | update copyright-year | Henrik Nord | |
2016-03-11 | Remove ?line macros | Björn-Egil Dahlberg | |
2016-03-11 | Eliminate use of doc and suite clauses | Björn-Egil Dahlberg | |
Those clause are obsolete and never used by common_test. | |||
2016-03-11 | Replace use of test_server:format/2 with io:format/2 | Björn-Egil Dahlberg | |
2016-03-11 | Eliminate use of test_server:fail/0,1 | Björn-Egil Dahlberg | |
2016-03-11 | Modernize use of timetraps | Björn-Egil Dahlberg | |
2016-02-17 | Eliminate use of test_server.hrl and test_server_line.hrl | Björn Gustavsson | |
As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl. | |||
2015-09-02 | Merge branch 'maint' into sverk/trace-process_dump-matchstate | Sverker Eriksson | |
Conflicts: erts/emulator/beam/erl_printf_term.c erts/emulator/beam/erl_term.c erts/emulator/beam/utils.c | |||
2015-09-01 | erts: Add testcase for tracing whith 'process_dump' | Sverker Eriksson | |
of a process with a matchstate on the stack. | |||
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2015-03-12 | erts: Enhance match spec tests for maps | Björn-Egil Dahlberg | |
2015-03-12 | erts: Strengthen maps match spec compilation tests | Björn-Egil Dahlberg | |
2015-03-11 | Fix compilation of match specs with maps | Anthony Ramine | |
The previous compilation was just plain wrong with push/pop mismatches. Reported-by: Björn-Egil Dahlberg | |||
2014-08-20 | Properly support maps in match_specs | Anthony Ramine | |
2014-04-29 | Fix timeout for match_spec_SUITE:otp_9422 | Sverker Eriksson | |
Must receive 'abort' even after loop_runner has finished. | |||
2014-04-01 | emulator: Increase timetrap timeout for match_spec_SUITE | Björn-Egil Dahlberg | |
2014-01-23 | erts: Fix faulty assert in match spec engine. | Sverker Eriksson | |
2013-12-02 | erts: Reduce wasted execution time for match_spec_SUITE:otp_9422 | Sverker Eriksson | |
2013-08-08 | erts: Do not enable TRACE_SILENT when testing a ms | Lukas Larsson | |
2013-01-25 | Update copyright years | Björn-Egil Dahlberg | |
2012-12-20 | Teach VM not to dump core on faulty seq_trace in ms | Patrik Nyblom | |
2011-07-22 | Test case for OTP-9422 | Sverker Eriksson | |
2011-02-23 | emulator tests: Eliminate some compiler warnings | Björn Gustavsson | |
2011-02-17 | Rename Suite Callback to Common Test Hook | Lukas Larsson | |
2011-02-17 | Fix formatting for emulator | Lukas Larsson | |
2011-02-17 | Add init_per_suite and end_per_suite | Lukas Larsson | |
2011-02-17 | Add ts_install_scb to suite/0 | Lukas Larsson | |
2011-02-17 | Update emulator tests to conform with common_test standard | Lukas Larsson | |
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |