diff options
author | Steve Vinoski <[email protected]> | 2013-09-10 09:06:13 -0400 |
---|---|---|
committer | Steve Vinoski <[email protected]> | 2013-09-10 09:06:13 -0400 |
commit | 3e71527e639101c9482b98ebde1c3d98a0419ec5 (patch) | |
tree | 9c46e32fd2dd759e091fbd212c3f2818f2bfb5f2 | |
parent | 2f2824519d13e7745c02efbc7c29c37a76885fee (diff) | |
download | otp-3e71527e639101c9482b98ebde1c3d98a0419ec5.tar.gz otp-3e71527e639101c9482b98ebde1c3d98a0419ec5.tar.bz2 otp-3e71527e639101c9482b98ebde1c3d98a0419ec5.zip |
fix system_flag(scheduling_statistics,disable)
Clear the "enabled" flag for scheduling statistics when disable is
specified.
-rw-r--r-- | erts/emulator/beam/erl_process.c | 2 |
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: |