diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-04-13 15:22:18 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-04-13 15:22:18 +0200 |
commit | 861454268770e05bd72312c1a46560ed29a42500 (patch) | |
tree | c7b25f94799b72e908ce90cffbcfac7465de6752 /erts/emulator/beam/global.h | |
parent | b94070e8e7648273f097cb036764dba2fe51ddf7 (diff) | |
parent | efefd4bfda3156c6c19a61d7aa3d2f50a026d0e5 (diff) | |
download | otp-861454268770e05bd72312c1a46560ed29a42500.tar.gz otp-861454268770e05bd72312c1a46560ed29a42500.tar.bz2 otp-861454268770e05bd72312c1a46560ed29a42500.zip |
Merge branch 'rr/wa-lcnt/OTP-10051' into maint
* rr/wa-lcnt/OTP-10051:
lcnt: Let runq locks reflect actual call location
lcnt: Enhancement fixups
erts: Add lcnt port and suspend options
Increase ethr event and lock counting constants to allow at least +A 1024.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index b000e2c5d4..fc4c0ba121 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -1187,6 +1187,10 @@ void erts_fire_port_monitor(Port *prt, Eterm ref); void erts_smp_xports_unlock(Port *); #endif +#if defined(ERTS_SMP) && defined(ERTS_ENABLE_LOCK_COUNT) +void erts_lcnt_enable_io_lock_count(int enable); +#endif + #if defined(ERTS_SMP) && defined(ERTS_ENABLE_LOCK_CHECK) int erts_lc_is_port_locked(Port *); #endif |