aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_bp.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-12 15:16:54 +0100
committerRickard Green <[email protected]>2017-01-12 15:16:54 +0100
commitca8fbd7e5835ac4e33e9041eabe87eb289a6b251 (patch)
tree3bab0d8e6f32169147e9f2f791af02dc107c50f7 /erts/emulator/beam/beam_bp.h
parent568e6b5faebf85fb35119858fcb4824f46a4266c (diff)
parentc057b468ee7535f199aa01301ff93e059fad4b07 (diff)
downloadotp-ca8fbd7e5835ac4e33e9041eabe87eb289a6b251.tar.gz
otp-ca8fbd7e5835ac4e33e9041eabe87eb289a6b251.tar.bz2
otp-ca8fbd7e5835ac4e33e9041eabe87eb289a6b251.zip
Merge branch 'rickard/ds-fixes' into maint
OTP-14122 * rickard/ds-fixes: Fix call time tracing with dirty schedulers
Diffstat (limited to 'erts/emulator/beam/beam_bp.h')
-rw-r--r--erts/emulator/beam/beam_bp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/erts/emulator/beam/beam_bp.h b/erts/emulator/beam/beam_bp.h
index 7206ef471a..4743e4fc2f 100644
--- a/erts/emulator/beam/beam_bp.h
+++ b/erts/emulator/beam/beam_bp.h
@@ -79,10 +79,8 @@ typedef struct generic_bp {
#define ERTS_BP_CALL_TIME_SCHEDULE_OUT (1)
#define ERTS_BP_CALL_TIME_SCHEDULE_EXITING (2)
-#ifdef ERTS_SMP
-#define bp_sched2ix_proc(p) (erts_proc_sched_data(p)->thr_id - 1)
-#else
-#define bp_sched2ix_proc(p) (0)
+#ifdef ERTS_DIRTY_SCHEDULERS
+extern erts_smp_mtx_t erts_dirty_bp_ix_mtx;
#endif
enum erts_break_op{