aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-05-12 13:54:32 +0200
committerBjörn Gustavsson <[email protected]>2017-05-16 10:19:37 +0200
commit4b216f70be3403bb7c102e7ac1a91b1ee4805c33 (patch)
tree9343836986b792c97e98cb281fce6cf03c6f39b4 /erts/doc
parent773c4d4f0416f25e3c0c6939f8d0871dc4486bab (diff)
downloadotp-4b216f70be3403bb7c102e7ac1a91b1ee4805c33.tar.gz
otp-4b216f70be3403bb7c102e7ac1a91b1ee4805c33.tar.bz2
otp-4b216f70be3403bb7c102e7ac1a91b1ee4805c33.zip
Let --enable-lock-counter build an additional emulator
"./configure --enable-lock-counter" would modify the behavior of the default emulator (usually SMP). To make lock counting more accessible, change --enable-lock-counter to build an additional emulator in the same way as: (cd erts/emulator && make lcnt) (The next commit will make it easier to start the built lock-counter emulator.)
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/erl.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml
index 6046e94599..e1aa5ce76e 100644
--- a/erts/doc/src/erl.xml
+++ b/erts/doc/src/erl.xml
@@ -239,6 +239,13 @@
<item>
<p>Useful for debugging. Prints the arguments sent to the emulator.</p>
</item>
+ <tag><c><![CDATA[-emu_type Type]]></c></tag>
+ <item>
+ <p>Start an emulator of a different type. For example, to start
+ the lock-counter emualator, use <c>-emu_type lcnt</c>. (The emulator
+ must already be built. Use the <c>configure</c> option
+ <c>--enable-lock-counter</c> to build the lock-counter emulator.)</p>
+ </item>
<tag><c><![CDATA[-env Variable Value]]></c></tag>
<item>
<p>Sets the host OS environment variable <c><![CDATA[Variable]]></c> to