diff options
author | Rickard Green <[email protected]> | 2017-01-12 15:18:54 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-01-12 15:18:54 +0100 |
commit | a3cccab21df2f18eeb38de0f28fb70480f3676d2 (patch) | |
tree | 4a9ce59d594fd027cfa79992d7c831a1441382ce /erts/emulator/beam/beam_bp.h | |
parent | a8477127f917e7d660697089e2c8d8a1cd08aae9 (diff) | |
parent | ca8fbd7e5835ac4e33e9041eabe87eb289a6b251 (diff) | |
download | otp-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.h | 6 |
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{ |