When Pid exits from the specified function because of an exception. This trace message is sent if flag call is set,
and the function has a match specification with an exception_trace action.
{spawn, Pid, Ts, Pid2, {M, F, Args}}
When Pid spawns a new process Pid2 with the specified function call as entry point.
Args is supposed to be the argument list, but can be any term if the spawn is erroneous.
{spawned, Pid, Ts, Pid2, {M, F, Args}}
When Pid is spawned by process Pid2 with the specified function call as entry point.
Args is supposed to be the argument list, but can be any term if the spawn is erroneous.
{exit, Pid, Ts, Reason} When Pid exits with reason Reason.
{register, PidPort, Ts, RegName} When PidPort gets the name RegName registered.
{unregister, PidPort, Ts, RegName} When PidPort gets the name RegName unregistered. This is done automatically when a registered process or port exits.
{link, Pid, Ts, Pid2} When Pid links to a process Pid2.
{unlink, Pid, Ts, Pid2} When Pid removes the link from a process Pid2.
{getting_linked, PidPort, Ts, Pid2} When PidPort gets linked to a process Pid2.
{getting_unlinked, PidPort, Ts, Pid2} When PidPort gets unlinked from a process Pid2.
{open, Port, Ts, Pid, Driver} When Pid opens a new port Port with the running Driver. Driver is the name of the driver as an atom.
{closed, Port, Ts, Reason} When Port closes with Reason.
{in | in_exiting, Pid, Ts, {M, F, Arity} | 0} When Pid is scheduled to run. The process runs in function {M, F, Arity}. On some rare occasions, the current function cannot be determined, then the last element is 0.
{out | out_exiting | out_exited, Pid, Ts, {M, F, Arity} | 0} When Pid is scheduled out. The process was running in function {M, F, Arity}. On some rare occasions, the current function cannot be determined, then the last element is 0.
{in, Port, Ts, Command | 0} When Port is scheduled to run. Command is the first thing the port will execute, it can however run several commands before being scheduled out. On some rare occasions, the current function cannot be determined, then the last element is 0. The possible commands are call, close, command, connect, control, flush, info, link, open, and unlink.
{out, Port, Ts, Command | 0} When Port is scheduled out. The last command run was Command. On some rare occasions, the current function cannot be determined, then the last element is 0. Command can contain the same commands as in
{gc_minor_start, Pid, Ts, Info} Sent when a young garbage collection is about to be started. Info is a list of two-element tuples, where the first element is a key, and the second is the value. Do not depend on any order of the tuples. The following keys are defined:
heap_size
The size of the used part of the heap.
heap_block_size
The size of the memory block used for storing the heap and the stack.
old_heap_size
The size of the used part of the old heap.
old_heap_block_size
The size of the memory block used for storing the old heap.
stack_size
The size of the stack.
recent_size
The size of the data that survived the previous garbage collection.
mbuf_size
The combined size of message buffers associated with the process.
bin_vheap_size
The total size of unique off-heap binaries referenced from the process heap.
bin_vheap_block_size
The total size of binaries allowed in the virtual heap in the process before doing a garbage collection.
bin_old_vheap_size
The total size of unique off-heap binaries referenced from the process old heap.
bin_old_vheap_block_size
The total size of binaries allowed in the virtual old heap in the process before doing a garbage collection.
wordsize
For the gc_minor_start event it is the size of the need that triggered the GC. For the corresponding gc_minor_end event it is the size of reclaimed memory = start heap_size - end heap_size.
All sizes are in words.
{gc_max_heap_size, Pid, Ts, Info} Sent when the max_heap_size is reached during garbage collection. Info contains the same kind of list as in message gc_start, but the sizes reflect the sizes that triggered max_heap_size to be reached.
{gc_minor_end, Pid, Ts, Info} Sent when young garbage collection is finished. Info contains the same kind of list as in message gc_minor_start, but the sizes reflect the new sizes after garbage collection.
{gc_major_start, Pid, Ts, Info} Sent when fullsweep garbage collection is about to be started. Info contains the same kind of list as in message gc_minor_start.
{gc_major_end, Pid, Ts, Info} Sent when fullsweep garbage collection is finished. Info contains the same kind of list as in message gc_minor_start, but the sizes reflect the new sizes after a fullsweep garbage collection.