From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 1EC40BC84 for ; Tue, 12 Apr 2005 18:02:08 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j3CG271P025452 for ; Tue, 12 Apr 2005 18:02:07 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA13760 for ; Tue, 12 Apr 2005 18:02:07 +0200 (MET DST) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j3CG267M027686 for ; Tue, 12 Apr 2005 18:02:07 +0200 Received: by wproxy.gmail.com with SMTP id 69so1921134wri for ; Tue, 12 Apr 2005 09:02:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=JIaxrpbhYcjGJdCqmdOD/WdoVnqlkld7QzEbeQfyPQoGmJDE0F4GA1dJk97kB4gcThzKW82c53hSzFEWiN+HpEpGNWQF09FCSxFUPny8W7vQp+jDOo6IfRgQFgNkItYfu3RP00JBg3w80JTnJv9f1a0E6gUzB2W90ne7zRKaLME= Received: by 10.54.46.61 with SMTP id t61mr1603wrt; Tue, 12 Apr 2005 09:02:06 -0700 (PDT) Received: by 10.54.2.79 with HTTP; Tue, 12 Apr 2005 09:02:06 -0700 (PDT) Message-ID: <891bd33905041209021f87dba1@mail.gmail.com> Date: Tue, 12 Apr 2005 12:02:06 -0400 From: Yaron Minsky Reply-To: yminsky@cs.cornell.edu To: Caml Mailing List Subject: oprofile and OCaml on Linux Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4558_15115285.1113321726202" X-Miltered: at concorde with ID 425BF0FF.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 425BF0FE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; yaron:01 minsky:01 yminsky:01 ocaml:01 threads:01 ocaml:01 yaron:01 threads:01 executables:01 executables:01 seems:03 seems:03 gprof:03 gprof:03 overhead:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.2 required=5.0 tests=HTML_00_10,HTML_MESSAGE, RCVD_BY_IP autolearn=disabled version=3.0.2 X-Spam-Level: ------=_Part_4558_15115285.1113321726202 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Has anyone had luck using oprofile to profile ocaml-generated executables?= =20 I've played around with it, and it's quite nice, and seems to have some rea= l=20 advantages over gprof (works sensibly in the presence of threads, works=20 without overhead or instrumentation, etc.) The one thing I haven't been abl= e=20 to get working, though, is call-graph analysis. To me, it looks like the=20 call-graph information isn't available for ocaml executables. Has anyone ha= d=20 any luck with getting this to work? Yaron ------=_Part_4558_15115285.1113321726202 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Has anyone had luck using oprofile to profile ocaml-generated executables?  I've played around with it, and it's quite nice, and seems to have some real advantages over gprof (works sensibly in the presence of threads, works without overhead or instrumentation, etc.)  The one thing I haven't been able to get working, though, is call-graph analysis.  To me, it looks like the call-graph information isn't available for ocaml executables.  Has anyone had any luck with getting this to work?

Yaron
------=_Part_4558_15115285.1113321726202--