Skip to content

Instantly share code, notes, and snippets.

@developerworks
Last active May 18, 2016 15:12
Show Gist options
  • Select an option

  • Save developerworks/3b888c93d8e17870fd8db86e9d8940b2 to your computer and use it in GitHub Desktop.

Select an option

Save developerworks/3b888c93d8e17870fd8db86e9d8940b2 to your computer and use it in GitHub Desktop.

Revisions

  1. developerworks renamed this gist May 18, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. developerworks revised this gist May 18, 2016. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions test.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    > build with kerl
    > option is
    > build with kerl configurre option is:
    > KERL_CONFIGURE_OPTIONS="--disable-native-libs --enable-vm-probes --with-dynamic-trace=systemtap --with-ssl=/usr/local --enable-hipe --enable-kernel-poll --without-odbc --enable-threads --enable-sctp --enable-smp-support --enable-sharez-zlib --enable-dynamic-ssl-lib"
    > When i list the probes about erlang, the result is ok
    ```
  3. developerworks created this gist May 18, 2016.
    29 changes: 29 additions & 0 deletions test.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    > build with kerl
    > option is
    > KERL_CONFIGURE_OPTIONS="--disable-native-libs --enable-vm-probes --with-dynamic-trace=systemtap --with-ssl=/usr/local --enable-hipe --enable-kernel-poll --without-odbc --enable-threads --enable-sctp --enable-smp-support --enable-sharez-zlib --enable-dynamic-ssl-lib"
    > When i list the probes about erlang, the result is ok
    ```
    ubuntu@ubuntu:~/systemtap$ stap -L 'process("/home/ubuntu/.kerl/builds/18.3_dtrace/release_18.3/erts-7.3/bin/beam.smp").mark("*")' |grep message
    process("/home/ubuntu/.kerl/builds/18.3_dtrace/release_18.3/erts-7.3/bin/beam.smp").mark("message__queued") $arg1:long $arg2:long $arg3:long $arg4:long $arg5:long $arg6:long
    process("/home/ubuntu/.kerl/builds/18.3_dtrace/release_18.3/erts-7.3/bin/beam.smp").mark("message__receive") $arg1:long $arg2:long $arg3:long $arg4:long $arg5:long $arg6:long
    process("/home/ubuntu/.kerl/builds/18.3_dtrace/release_18.3/erts-7.3/bin/beam.smp").mark("message__send") $arg1:long $arg2:long $arg3:long $arg4:long $arg5:long $arg6:long
    process("/home/ubuntu/.kerl/builds/18.3_dtrace/release_18.3/erts-7.3/bin/beam.smp").mark("message__send__remote") $arg1:long $arg2:long $arg3:long $arg4:long $arg5:long $arg6:long $arg7:long
    ```

    > this is a beam.smp virutal machine what was packaged by a exrm relase manager with compiler options as:
    ```elixir
    Code.compiler_options([
    debug_info: false,
    docs: true,
    ignore_module_conflict: false,
    warnings_as_errors: false
    ])
    ```

    > When i list probes with the following command, no output.
    ```
    ubuntu@ubuntu:~/systemtap$ stap -L 'process("/srv/telegram/releases/0.1.0/erts-7.3/bin/beam.smp").mark("*")' |grep message
    ```