aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/unix
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-10-27 16:44:58 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-10-27 16:44:58 +0100
commit405281de217231b820b4e6106cf7c253415d4aee (patch)
tree8fd333e6d657a063543abf4c31f845de657efe6a /erts/etc/unix
parent229d21e6d143532fb6415203d928652b6fa602e0 (diff)
parenta5ce823283d36eda4788c55b0b9b645577473983 (diff)
downloadotp-405281de217231b820b4e6106cf7c253415d4aee.tar.gz
otp-405281de217231b820b4e6106cf7c253415d4aee.tar.bz2
otp-405281de217231b820b4e6106cf7c253415d4aee.zip
Merge branch 'egil/fix-instruction-counter'
* egil/fix-instruction-counter: erts: Fix SMP for ERTS_OPCODE_COUNTER_SUPPORT erts: Add icount build type for opcode counter
Diffstat (limited to 'erts/etc/unix')
-rw-r--r--erts/etc/unix/cerl.src6
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/etc/unix/cerl.src b/erts/etc/unix/cerl.src
index 78fefbea55..aa51eabfc5 100644
--- a/erts/etc/unix/cerl.src
+++ b/erts/etc/unix/cerl.src
@@ -43,6 +43,7 @@
# -gcov Run emulator compiled for gcov
# -valgrind Run emulator compiled for valgrind
# -lcnt Run emulator compiled for lock counting
+# -icount Run emulator compiled for instruction counting
# -nox Unset the DISPLAY variable to disable us of X Windows
#
# FIXME For GDB you can also set the break point using "-break FUNCTION".
@@ -180,6 +181,11 @@ while [ $# -gt 0 ]; do
cargs="$cargs -frmptr"
TYPE=.frmptr
;;
+ "-icount")
+ shift
+ cargs="$cargs -icount"
+ TYPE=.icount
+ ;;
"-dump")
shift
GDB=dump