diff options
author | Lukas Larsson <lukas@erlang-solutions.com> | 2013-08-01 15:50:46 +0200 |
---|---|---|
committer | Lukas Larsson <lukas@erlang-solutions.com> | 2014-02-24 15:15:56 +0100 |
commit | 48201abc7961b44be9e5cf0feb74d18a399d6099 (patch) | |
tree | 6efb3624e998e5b4594ff8e230234b3041833021 /erts/emulator/beam/erl_lock_count.h | |
parent | 06928bcd1ff6ede831bb36395ab94761c85d780b (diff) | |
download | erlang-48201abc7961b44be9e5cf0feb74d18a399d6099.tar.gz |
erts: Make source file info available in lc
Diffstat (limited to 'erts/emulator/beam/erl_lock_count.h')
-rw-r--r-- | erts/emulator/beam/erl_lock_count.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_lock_count.h b/erts/emulator/beam/erl_lock_count.h index a4fc91b510..75f7cd028b 100644 --- a/erts/emulator/beam/erl_lock_count.h +++ b/erts/emulator/beam/erl_lock_count.h @@ -61,8 +61,14 @@ #define ERTS_LOCK_COUNT_H__ #ifdef ERTS_ENABLE_LOCK_COUNT +#ifndef ERTS_ENABLE_LOCK_POSITION +/* Enable in order for _x variants of mtx functions to be used. */ +#define ERTS_ENABLE_LOCK_POSITION 1 +#endif + #include "ethread.h" + #define ERTS_LCNT_MAX_LOCK_LOCATIONS (10) #define ERTS_LCNT_LT_SPINLOCK (((Uint16) 1) << 0) |