aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_bp.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-11-01 16:08:21 +0100
committerRickard Green <[email protected]>2016-11-22 16:21:25 +0100
commite9ac0c64a78c858d474757d435f3c7dce2a224b1 (patch)
tree6716026c269ca2e7a39e028ffae3cec6dbbb970d /erts/emulator/beam/beam_bp.c
parentdd2e99bdd726d4322c8e07c81731ad66ae05176e (diff)
downloadotp-e9ac0c64a78c858d474757d435f3c7dce2a224b1.tar.gz
otp-e9ac0c64a78c858d474757d435f3c7dce2a224b1.tar.bz2
otp-e9ac0c64a78c858d474757d435f3c7dce2a224b1.zip
Fix call time tracing with dirty schedulers
Diffstat (limited to 'erts/emulator/beam/beam_bp.c')
-rw-r--r--erts/emulator/beam/beam_bp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_bp.c b/erts/emulator/beam/beam_bp.c
index 920c8b1ed0..bbb2e4f34f 100644
--- a/erts/emulator/beam/beam_bp.c
+++ b/erts/emulator/beam/beam_bp.c
@@ -1517,7 +1517,7 @@ set_function_break(BeamInstr *pc, Binary *match_spec, Uint break_flags,
ASSERT((bp->flags & ERTS_BPF_TIME_TRACE) == 0);
bdt = Alloc(sizeof(BpDataTime));
erts_refc_init(&bdt->refc, 1);
- bdt->n = erts_no_schedulers;
+ bdt->n = erts_no_total_schedulers;
bdt->hash = Alloc(sizeof(bp_time_hash_t)*(bdt->n));
for (i = 0; i < bdt->n; i++) {
bp_hash_init(&(bdt->hash[i]), 32);