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/erl_lock_count.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/erl_lock_count.h')
-rw-r--r-- | erts/emulator/beam/erl_lock_count.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_lock_count.h b/erts/emulator/beam/erl_lock_count.h index 6306580ae4..690551c71f 100644 --- a/erts/emulator/beam/erl_lock_count.h +++ b/erts/emulator/beam/erl_lock_count.h @@ -89,6 +89,7 @@ #define ERTS_LCNT_OPT_LOCATION (((Uint16) 1) << 1) #define ERTS_LCNT_OPT_PROCLOCK (((Uint16) 1) << 2) #define ERTS_LCNT_OPT_COPYSAVE (((Uint16) 1) << 3) +#define ERTS_LCNT_OPT_PORTLOCK (((Uint16) 1) << 4) typedef struct { unsigned long s; @@ -201,5 +202,7 @@ void erts_lcnt_clear_counters(void); char *erts_lcnt_lock_type(Uint16 type); erts_lcnt_data_t *erts_lcnt_get_data(void); +#define ERTS_LCNT_LOCK_TYPE(lockp) ((lockp)->flag & ERTS_LCNT_LT_ALL) + #endif /* ifdef ERTS_ENABLE_LOCK_COUNT */ #endif /* ifndef ERTS_LOCK_COUNT_H__ */ |