aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_trace.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-02-02 17:30:51 +0100
committerSverker Eriksson <[email protected]>2016-05-04 19:53:36 +0200
commitaf2a4c5a40c62da775caa92df5164fbee08b9245 (patch)
tree07597883ca7cda218eb3fc017cc6057c334af434 /erts/emulator/beam/erl_bif_trace.c
parent9791998defa447e4620da250bbddacb3c8edc02e (diff)
downloadotp-af2a4c5a40c62da775caa92df5164fbee08b9245.tar.gz
otp-af2a4c5a40c62da775caa92df5164fbee08b9245.tar.bz2
otp-af2a4c5a40c62da775caa92df5164fbee08b9245.zip
erts: Rename constants in enum erts_break_op
with uppercase for constants and why not call them 'RESTART' and 'PAUSE' as the API.
Diffstat (limited to 'erts/emulator/beam/erl_bif_trace.c')
-rw-r--r--erts/emulator/beam/erl_bif_trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_bif_trace.c b/erts/emulator/beam/erl_bif_trace.c
index 09c82ad206..ef01aa3340 100644
--- a/erts/emulator/beam/erl_bif_trace.c
+++ b/erts/emulator/beam/erl_bif_trace.c
@@ -137,10 +137,10 @@ trace_pattern(Process* p, Eterm MFA, Eterm Pattern, Eterm flaglist)
on = 1;
} else if (Pattern == am_restart) {
match_prog_set = NULL;
- on = erts_break_reset;
+ on = ERTS_BREAK_RESTART;
} else if (Pattern == am_pause) {
match_prog_set = NULL;
- on = erts_break_stop;
+ on = ERTS_BREAK_PAUSE;
} else if ((match_prog_set = erts_match_set_compile(p, Pattern)) != NULL) {
MatchSetRef(match_prog_set);
on = 1;