[erlang-questions] FreeBSD dtrace-enabled builds

Scott Lystig Fritchie fritchie@REDACTED
Thu Feb 19 06:03:04 CET 2015


Kenji Rikitake <kenji@REDACTED> wrote:

kr> I've never seen the "WARNING: number of probes fixed..." message in
kr> my environment (a kerl-built 17.4.1 with dtrace).

Nor have I, sorry.  

Sorry, Dave, I'm at a loss.  My home box is FreeBSD 9 and has no
complaints.  I spun up a FreeBSD 10.1 amd64 machine this morning and
compiled via:

    pkg install gmake
    pkg install perl5
    kldload dtraceall
    ./configure --prefix=/usr/local/erlang/17.4 --enable-vm-probes \
        --with-dynamic-trace=dtrace |& tee RUNLOG.c
    make |& tee RUNLOG.0
    
... and then running './bin/erl' didn't yield any errors.  

    [vagrant@REDACTED /usr/local/src/erlang/otp_src_17.4]$ ./bin/erl
    Erlang/OTP 17 [erts-6.3] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
    
    Eshell V6.3  (abort with ^G)
    1> l(dyntrace).
    {module,dyntrace}
    2> dyntrace:available().
    true

-Scott



More information about the erlang-questions mailing list