aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_trace.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-01-27 19:05:31 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:23:05 +0100
commit0248726417f6c0c709a85c0db930220de5541b9d (patch)
tree35b9ced4f42b28b876e1cb7080cfdfb9d5691197 /erts/emulator/beam/erl_bif_trace.c
parentcd366260e689d97845c56f30ef960853099465ab (diff)
downloadotp-0248726417f6c0c709a85c0db930220de5541b9d.tar.gz
otp-0248726417f6c0c709a85c0db930220de5541b9d.tar.bz2
otp-0248726417f6c0c709a85c0db930220de5541b9d.zip
erts: Fallback to blocking upgrade when tracing is enabled
Diffstat (limited to 'erts/emulator/beam/erl_bif_trace.c')
-rw-r--r--erts/emulator/beam/erl_bif_trace.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_bif_trace.c b/erts/emulator/beam/erl_bif_trace.c
index 24b16b9679..203ba9004b 100644
--- a/erts/emulator/beam/erl_bif_trace.c
+++ b/erts/emulator/beam/erl_bif_trace.c
@@ -373,7 +373,10 @@ erts_get_default_trace_pattern(int *trace_pattern_is_on,
*meta_tracer_pid = erts_default_meta_tracer_pid;
}
-
+int erts_is_default_trace_enabled(void)
+{
+ return erts_default_trace_pattern_is_on;
+}
Uint
erts_trace_flag2bit(Eterm flag)