aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_bp.h
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.h
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.h')
-rw-r--r--erts/emulator/beam/beam_bp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_bp.h b/erts/emulator/beam/beam_bp.h
index 541af77211..7206ef471a 100644
--- a/erts/emulator/beam/beam_bp.h
+++ b/erts/emulator/beam/beam_bp.h
@@ -80,7 +80,7 @@ typedef struct generic_bp {
#define ERTS_BP_CALL_TIME_SCHEDULE_EXITING (2)
#ifdef ERTS_SMP
-#define bp_sched2ix_proc(p) (erts_proc_sched_data(p)->no - 1)
+#define bp_sched2ix_proc(p) (erts_proc_sched_data(p)->thr_id - 1)
#else
#define bp_sched2ix_proc(p) (0)
#endif