From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 250A27EEAF for ; Fri, 1 Feb 2013 11:10:50 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of syshen@nudt.edu.cn) identity=pra; client-ip=61.187.54.11; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="syshen@nudt.edu.cn"; x-sender="syshen@nudt.edu.cn"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of syshen@nudt.edu.cn) identity=mailfrom; client-ip=61.187.54.11; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="syshen@nudt.edu.cn"; x-sender="syshen@nudt.edu.cn"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@nudt.edu.cn) identity=helo; client-ip=61.187.54.11; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="syshen@nudt.edu.cn"; x-sender="postmaster@nudt.edu.cn"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsEAG+TC1E9uzYL/2dsb2JhbABFhki3N4E8c4IVgR4JAUBfJId/lHqMK45PCIlOiQqPdYEXA4hjjTGQToMIghc X-IPAS-Result: ArsEAG+TC1E9uzYL/2dsb2JhbABFhki3N4E8c4IVgR4JAUBfJId/lHqMK45PCIlOiQqPdYEXA4hjjTGQToMIghc X-IronPort-AV: E=Sophos;i="4.84,579,1355094000"; d="scan'208";a="736911" Received: from mail.nudt.edu.cn (HELO nudt.edu.cn) ([61.187.54.11]) by mail3-smtp-sop.national.inria.fr with ESMTP; 01 Feb 2013 11:08:35 +0100 Received: by ajax-webmail-coremail.nudt.edu.cn (Coremail) ; Fri, 1 Feb 2013 18:09:21 +0800 (GMT+08:00) Date: Fri, 1 Feb 2013 18:09:21 +0800 (GMT+08:00) From: =?GBK?B?yfLKpNPu?= To: caml-list Message-ID: <104129e3.ee2.13c953b6025.Coremail.syshen@nudt.edu.cn> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12816_407858410.1359713361956" X-Originating-IP: [113.246.243.39] X-Priority: 3 X-Mailer: Coremail Webmail Server Version 4.0.5a build 20121109(20529.5019.5013) Copyright (c) 2002-2013 www.mailtech.cn nudt-out X-SendMailWithSms: false X-CM-TRANSID:AQAAf0D5+ENSlAtRZvMDAA--.472W X-CM-SenderInfo: xv1vxvnq6q3vvwohv3gofq/1tbiAQARE1C8Ui4n5AABsR X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW5Jw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= Subject: [Caml-list] ::how to locate the function in profile generated by gprof ------=_Part_12816_407858410.1359713361956 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit 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__fun_. 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 ------=_Part_12816_407858410.1359713361956 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit 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

------=_Part_12816_407858410.1359713361956--