caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Mark Shinwell <mshinwell@janestreet.com>
To: "Maxime Dénès" <Maxime.Denes@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] enhancements for "perf" on OCaml code
Date: Fri, 12 Jul 2013 16:41:00 +0100	[thread overview]
Message-ID: <CAM3Ki77VtR4owr0LOH7HoSiB73mApiSQhxOSDAywhjvo2mC+cw@mail.gmail.com> (raw)
In-Reply-To: <51E01448.1000801@inria.fr>

On 12 July 2013 15:35, Maxime Dénès <Maxime.Denes@inria.fr> wrote:
> Is it related to the recently introduced "-with-frame-pointers" configure
> flag http://caml.inria.fr/mantis/view.php?id=5721 ?
>
> The purpose of this flag seemed to be the use of the same perf tool.

Compilation with a frame pointer enables the display of callgraph
information in perf.  It is effectively a workaround for the fact that the
in-kernel stack unwinder used by perf does not use the debugging
information in the executable.

The perf-annotate compiler is designed specifically to make the
"perf annotate" feature of the perf tools work in a satisfactory way
for OCaml code.  It's roughly speaking orthogonal, but you probably
want to use both.

Mark

      reply	other threads:[~2013-07-12 15:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12 13:46 Mark Shinwell
2013-07-12 14:35 ` Maxime Dénès
2013-07-12 15:41   ` Mark Shinwell [this message]

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=CAM3Ki77VtR4owr0LOH7HoSiB73mApiSQhxOSDAywhjvo2mC+cw@mail.gmail.com \
    --to=mshinwell@janestreet.com \
    --cc=Maxime.Denes@inria.fr \
    --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;
as well as URLs for NNTP newsgroup(s).