From: Nils Becker <nils.becker@bioquant.uni-heidelberg.de>
To: caml-list@inria.fr
Subject: [Caml-list] profiling on os x
Date: Thu, 22 Oct 2015 16:16:41 +0200 [thread overview]
Message-ID: <n0ar49$grj$1@ger.gmane.org> (raw)
hi,
i am trying to profile an ocaml native program on os x. i compiled with
the "profile" tag using ocamlbuild, by putting <*>: profile into my
_tags file. i then use Instruments to sample the running program.
i get not a lot of useful information: except to some function names
like caml_gall_gc and others which i assume to be external functions, i
only get symbols of the format .L??? where ? is a digit.
is there any way to make ocaml embed symbol names that are usable on os
x? or is there another way to profile (except 'poor man' - i've tried
that but it did not give good clues)? (instruments is apparently based
on dtrace which is also available on the command line)
thanks!
reply other threads:[~2015-10-22 14:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='n0ar49$grj$1@ger.gmane.org' \
--to=nils.becker@bioquant.uni-heidelberg.de \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox