aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-09-11 15:45:29 +0200
committerFredrik Gustafsson <[email protected]>2013-09-11 15:45:29 +0200
commitb44ce0f1b70176bba8ce817d9889ace9efaec891 (patch)
tree64573c961f36529611baaffd9619e3b90251ca2e
parentbb73eb3cbf6d7754389ffbe7e0bfe91fab865888 (diff)
parent3e71527e639101c9482b98ebde1c3d98a0419ec5 (diff)
downloadotp-b44ce0f1b70176bba8ce817d9889ace9efaec891.tar.gz
otp-b44ce0f1b70176bba8ce817d9889ace9efaec891.tar.bz2
otp-b44ce0f1b70176bba8ce817d9889ace9efaec891.zip
Merge branch 'vinoski/sv/fix-sched-stats-disable/OTP-11317' into maint
* vinoski/sv/fix-sched-stats-disable/OTP-11317: fix system_flag(scheduling_statistics,disable)
-rw-r--r--erts/emulator/beam/erl_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 2439a46ab6..434d5ca147 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -7237,7 +7237,7 @@ erts_sched_stat_modify(int what)
break;
case ERTS_SCHED_STAT_MODIFY_DISABLE:
erts_smp_thr_progress_block();
- erts_sched_stat.enabled = 1;
+ erts_sched_stat.enabled = 0;
erts_smp_thr_progress_unblock();
break;
case ERTS_SCHED_STAT_MODIFY_CLEAR: