caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] profiling on os x
@ 2015-10-22 14:16 Nils Becker
  0 siblings, 0 replies; only message in thread
From: Nils Becker @ 2015-10-22 14:16 UTC (permalink / raw)
  To: caml-list

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!



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-22 14:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-22 14:16 [Caml-list] profiling on os x Nils Becker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).