diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-10-27 16:44:58 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-10-27 16:44:58 +0100 |
commit | 405281de217231b820b4e6106cf7c253415d4aee (patch) | |
tree | 8fd333e6d657a063543abf4c31f845de657efe6a /erts/etc | |
parent | 229d21e6d143532fb6415203d928652b6fa602e0 (diff) | |
parent | a5ce823283d36eda4788c55b0b9b645577473983 (diff) | |
download | otp-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')
-rw-r--r-- | erts/etc/unix/cerl.src | 6 |
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 |