fprof under OS X

david wallin david.wallin@REDACTED
Wed Feb 12 19:10:18 CET 2003


Erlang (BEAM) emulator version 5.2 [source] [shared heap]

Eshell V5.2  (abort with ^G)
1> misc:fprof_test().
dyld: /usr/local/stow/erlang-R9B/lib/erlang/erts-5.2/bin/beam Undefined 
symbols:
                                                                         
         dyld_stub_binding_helper
            Trace/BPT trap


Where fprof_test/0 looks like this:

fprof_test() ->

     fprof:trace(start),
     chi_square_test(fun() -> random:uniform(10) end, 1000, 10),
     fprof:trace(stop),
     fprof:profile(),
     fprof:analyse().

cheers,

--david.

On Wednesday, February 12, 2003, at 06:03 PM, Sean Hinde wrote:

> > While I'm at it. This is probably already a known issue, (but I can't
> > find the public bug database...) fprof isn't working under Mac OS X
> > (jaguar). This is under R9B-0 with a patch from the mailing
> > list applied
> > (helps loading some dynamic drivers).
>
> What problema are you having? I don't think there are any drivers 
> involved in profiling so it should be as cross platform as Erlang 
> itself..
>
> Sean
>
>
>
> NOTICE AND DISCLAIMER:
> This email (including attachments) is confidential.  If you have 
> received this email in error please notify the sender immediately and 
> delete this email from your system without copying or disseminating it 
> or placing any reliance upon its contents.  We cannot accept liability 
> for any breaches of confidence arising through use of email.  Any 
> opinions expressed in this email (including attachments) are those of 
> the author and do not necessarily reflect our opinions.  We will not 
> accept responsibility for any commitments made by our employees 
> outside the scope of our business.  We do not warrant the accuracy or 
> completeness of such information.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1820 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20030212/7ff93dac/attachment.bin>


More information about the erlang-questions mailing list