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:
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
I should re-compile the erlang with flag --with-dynamic-trace=systemtap in the system that execute the exrm.