caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: 沈胜宇 <syshen@nudt.edu.cn>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] ::how to locate the function in profile generated by gprof
Date: Fri, 1 Feb 2013 18:09:21 +0800 (GMT+08:00)	[thread overview]
Message-ID: <104129e3.ee2.13c953b6025.Coremail.syshen@nudt.edu.cn> (raw)

[-- Attachment #1: Type: text/plain, Size: 338 bytes --]

Dear all:


I have a ocaml program compiled by "ocamlopt.opt -p".


In the profile generated from gprof, there are lots of anonymous function with name caml<module name>__fun_<number>.


For example, I have a module Misc, so there are function name like camlMisc__fun_1201.


So how can I locate the this function in source code?


Shen


[-- Attachment #2: Type: text/html, Size: 717 bytes --]

             reply	other threads:[~2013-02-01 10:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-01 10:09 沈胜宇 [this message]
2013-02-01 12:11 ` rixed
2013-02-01 12:30   ` Török Edwin

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=104129e3.ee2.13c953b6025.Coremail.syshen@nudt.edu.cn \
    --to=syshen@nudt.edu.cn \
    --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).