aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_bp.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-11 18:18:11 +0100
committerRickard Green <[email protected]>2017-01-11 18:21:38 +0100
commitc057b468ee7535f199aa01301ff93e059fad4b07 (patch)
tree34a661cd963a8836cda6914fd8fe565ced0c6255 /erts/emulator/beam/beam_bp.h
parentefc331a04191a124ee7428c25f2ec05ded748faf (diff)
downloadotp-c057b468ee7535f199aa01301ff93e059fad4b07.tar.gz
otp-c057b468ee7535f199aa01301ff93e059fad4b07.tar.bz2
otp-c057b468ee7535f199aa01301ff93e059fad4b07.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.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{