diff options
author | Boshan Sun <[email protected]> | 2018-03-22 19:47:04 -0700 |
---|---|---|
committer | Boshan Sun <[email protected]> | 2018-04-23 09:21:33 -0700 |
commit | 4b97ff92a8d2d429370da40c9845199c2a68f12d (patch) | |
tree | 4a9bfa6dad677b10f47831e2343416dde5ad6dae /lib/stdlib/doc | |
parent | 6b31b88f74bf7194bed5df72eeabda3cc645a39c (diff) | |
download | otp-4b97ff92a8d2d429370da40c9845199c2a68f12d.tar.gz otp-4b97ff92a8d2d429370da40c9845199c2a68f12d.tar.bz2 otp-4b97ff92a8d2d429370da40c9845199c2a68f12d.zip |
Fix sys's debug statistics.
Currently, in sys:stat/2, the message out only count for system events with format
{out, Msg, To}. However, the gen_server:reply/5 will call sys:handle_debug/4
with format {out, Reply, To, State}. That will make the message out count fail
to pattern matching.
Also update sys_SUITE.erl and relevant docs.
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r-- | lib/stdlib/doc/src/sys.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/sys.xml b/lib/stdlib/doc/src/sys.xml index 64d8789016..8930087555 100644 --- a/lib/stdlib/doc/src/sys.xml +++ b/lib/stdlib/doc/src/sys.xml @@ -102,7 +102,7 @@ then treated in the debug function. For example, <c>trace</c> formats the system events to the terminal. </p> - <p>Three predefined system events are used when a + <p>Four predefined system events are used when a process receives or sends a message. The process can also define its own system events. It is always up to the process itself to format these events.</p> |