aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-12-20 10:10:51 +0100
committerLukas Larsson <[email protected]>2018-12-20 10:10:51 +0100
commit58d4bef716136bb1681fcdd0c8502d681ccd9cd3 (patch)
treefc64c1725937b7967bd1163e9e51cb8b0ea41a1a /lib
parent9aac178d30c5bad940e68a7eb8a36596df5ed903 (diff)
parent27ff974bfa155ad31dcdc338d7fecf36b08a0516 (diff)
downloadotp-58d4bef716136bb1681fcdd0c8502d681ccd9cd3.tar.gz
otp-58d4bef716136bb1681fcdd0c8502d681ccd9cd3.tar.bz2
otp-58d4bef716136bb1681fcdd0c8502d681ccd9cd3.zip
Merge branch 'lukas/erts/fix-seq_trace-reset_trace/OTP-15490' into maint
* lukas/erts/fix-seq_trace-reset_trace/OTP-15490: erts: Fix seq_trace:reset_trace dirty gc bug erts: Use sys_memcpy in copy_one_frag
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/seq_trace.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/seq_trace.erl b/lib/kernel/src/seq_trace.erl
index 14fe21e9de..4f9d7b3e5c 100644
--- a/lib/kernel/src/seq_trace.erl
+++ b/lib/kernel/src/seq_trace.erl
@@ -98,7 +98,7 @@ print(Label, Term) ->
-spec reset_trace() -> 'true'.
reset_trace() ->
- erlang:system_flag(1, 0).
+ erlang:system_flag(reset_seq_trace, true).
%% reset_trace(Pid) -> % this might be a useful function too