aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/nifs/common/erl_tracer_nif.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-07 16:04:04 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-04-29 18:31:35 +0200
commit6f89f183317c930fe1199ad3320825b02bb861da (patch)
tree5d919324442bc87300cd6956dc17f8a6874232f0 /erts/emulator/nifs/common/erl_tracer_nif.c
parentf5fa3ac80d2f7fcd11ac3e702c29df5ef6c204db (diff)
downloadotp-6f89f183317c930fe1199ad3320825b02bb861da.tar.gz
otp-6f89f183317c930fe1199ad3320825b02bb861da.tar.bz2
otp-6f89f183317c930fe1199ad3320825b02bb861da.zip
erts: Extend garbage collection trace
Replace 'gc_start' and 'gc_end' with * 'gc_minor_start' * 'gc_minor_end' * 'gc_major_start' * 'gc_major_end'
Diffstat (limited to 'erts/emulator/nifs/common/erl_tracer_nif.c')
-rw-r--r--erts/emulator/nifs/common/erl_tracer_nif.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/nifs/common/erl_tracer_nif.c b/erts/emulator/nifs/common/erl_tracer_nif.c
index a1e0e581a4..1bb6b940c4 100644
--- a/erts/emulator/nifs/common/erl_tracer_nif.c
+++ b/erts/emulator/nifs/common/erl_tracer_nif.c
@@ -72,6 +72,12 @@ ERL_NIF_INIT(erl_tracer, nif_funcs, load, NULL, upgrade, unload)
ATOM_DECL(trace); \
ATOM_DECL(trace_ts); \
ATOM_DECL(true); \
+ ATOM_DECL(gc_start); \
+ ATOM_DECL(gc_end); \
+ ATOM_DECL(gc_minor_start); \
+ ATOM_DECL(gc_minor_end); \
+ ATOM_DECL(gc_major_start); \
+ ATOM_DECL(gc_major_end); \
ATOM_DECL(undefined);
#define ATOM_DECL(A) static ERL_NIF_TERM atom_##A