aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_message.c
diff options
context:
space:
mode:
authorNikolaos S. Papaspyrou <[email protected]>2012-06-11 15:17:01 +0300
committerBjörn-Egil Dahlberg <[email protected]>2015-11-17 14:45:45 +0100
commit277e8e77384ed6628009243e63d62f0555d10c69 (patch)
tree7a2047e44d4c67939782d38ffe7aa2d29620b276 /erts/emulator/beam/erl_message.c
parent244e9d5855d1b1f160d667b5cf369defee72829d (diff)
downloadotp-277e8e77384ed6628009243e63d62f0555d10c69.tar.gz
otp-277e8e77384ed6628009243e63d62f0555d10c69.tar.bz2
otp-277e8e77384ed6628009243e63d62f0555d10c69.zip
Add -debug +vc flag for debuging SHCOPY
This is very verbose, you have been warned. It should work with the copy-spy.py script, which may be a bit outdated.
Diffstat (limited to 'erts/emulator/beam/erl_message.c')
-rw-r--r--erts/emulator/beam/erl_message.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_message.c b/erts/emulator/beam/erl_message.c
index b1fca1df0c..11890a756d 100644
--- a/erts/emulator/beam/erl_message.c
+++ b/erts/emulator/beam/erl_message.c
@@ -68,9 +68,7 @@ new_message_buffer(Uint size)
bp = (ErlHeapFragment*) ERTS_HEAP_ALLOC(ERTS_ALC_T_HEAP_FRAG,
ERTS_HEAP_FRAG_SIZE(size));
ERTS_INIT_HEAP_FRAG(bp, size, size);
-#ifdef SHCOPY_DEBUG
- VERBOSE_DEBUG("[pid=%T] new message buffer %p\n", erts_get_current_pid(), bp->mem);
-#endif
+ VERBOSE(DEBUG_SHCOPY, ("[pid=%T] new message buffer %p\n", erts_get_current_pid(), bp->mem));
return bp;
}