aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_bp.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-12 15:18:54 +0100
committerRickard Green <[email protected]>2017-01-12 15:18:54 +0100
commita3cccab21df2f18eeb38de0f28fb70480f3676d2 (patch)
tree4a9ce59d594fd027cfa79992d7c831a1441382ce /erts/emulator/beam/beam_bp.h
parenta8477127f917e7d660697089e2c8d8a1cd08aae9 (diff)
parentca8fbd7e5835ac4e33e9041eabe87eb289a6b251 (diff)
downloadotp-a3cccab21df2f18eeb38de0f28fb70480f3676d2.tar.gz
otp-a3cccab21df2f18eeb38de0f28fb70480f3676d2.tar.bz2
otp-a3cccab21df2f18eeb38de0f28fb70480f3676d2.zip
Merge branch 'maint'
* maint: 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 224b46407d..cccd395e0a 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{