From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 18:21:56 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0988ED79 for ; Thu, 18 Apr 2013 18:21:56 +0000 (UTC) (envelope-from niklaus@gmail.com) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id A414A11B5 for ; Thu, 18 Apr 2013 18:21:55 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id m1so2694153wea.13 for ; Thu, 18 Apr 2013 11:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=QWy04IdQFHMJJqRemmCo90NOO1ULcw/koDve9iYp6xI=; b=Y5D5clr2jXxSIIwYp2dFnyyrP8FAuPpN+X7NZH4UVFpyxb0do6YeQR3broVtWO8Wuu LgQAOf0hT692yrWrfuhdeK64EUloAFefIDd1YP0YY69DIqZTNZLISK7uqBvc20HKj4Rv NHkhtHDlBFLs98NDLE0n99eOJGF0h3cghAPrtWCxlq0k1M1jwyIUOJNXpt1o4JJPymmN 49aRIVHg2vb/t3NAXZSIyEifyhiVy4csshbr+W6fkVT+lYYIh8590ZNYpiB2me8bli+e axeafIzoXORavyftFe8eBF/qriY9wIcuH/6EkYlp1dlEI4piolVUZJTlafLfTivHHlKp Wcpg== MIME-Version: 1.0 X-Received: by 10.180.93.134 with SMTP id cu6mr19938644wib.8.1366309314744; Thu, 18 Apr 2013 11:21:54 -0700 (PDT) Received: by 10.180.147.238 with HTTP; Thu, 18 Apr 2013 11:21:54 -0700 (PDT) Date: Thu, 18 Apr 2013 23:51:54 +0530 Message-ID: Subject: Profiling a dlopened library From: Niklaus To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 18:21:56 -0000 Hi, How do i profile a library which is dlopened from an executable. The executable and the library are compiled with -g using gcc . Can somone tell me tool that would profile it at runtime. Regards, Nik