aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_bp.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-11-23 14:19:41 +0100
committerRickard Green <[email protected]>2016-11-23 14:19:41 +0100
commit8fade0888ff75fafb2abb512cfb97bcb5472fec1 (patch)
tree4fd4a465c9f0041b52aa1d1f3b5ac0e4e832f561 /erts/emulator/beam/beam_bp.h
parent2b663d3ff96c74fa87be1120f3cd8960318080a1 (diff)
parent00e6b41fd5a83bd3823a62f06e650159b1c73e1c (diff)
downloadotp-8fade0888ff75fafb2abb512cfb97bcb5472fec1.tar.gz
otp-8fade0888ff75fafb2abb512cfb97bcb5472fec1.tar.bz2
otp-8fade0888ff75fafb2abb512cfb97bcb5472fec1.zip
Merge branch 'rickard/dirty-scheduling-fixes' into maint
OTP-14051 * rickard/dirty-scheduling-fixes: Update etp-commands for dirty schedulers Fix scheduling of system tasks on processes executing dirty Fix call time tracing with dirty schedulers Fix send of exit signal to process executing dirty Fix dirty scheduler process priority Fix alloc-util hard-debug Silence debug warning when no beam jump table is used with dirty schedulers Conflicts: erts/etc/unix/etp-commands.in
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