X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4FEEE53AEC for ; Thu, 7 Apr 2005 05:03:39 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16447-08 for ; Thu, 7 Apr 2005 04:03:37 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id BE9E453B02 for ; Thu, 7 Apr 2005 05:03:35 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j3743QXv013375; Thu, 7 Apr 2005 00:03:26 -0400 (EDT) To: Neil Conway Cc: Adam Palmblad , "pgsql-performance@postgresql.org" Subject: Re: Tweaking a C Function I wrote In-reply-to: <425473E6.9080605@samurai.com> References: <42546F53.1020300@aers.ca> <425473E6.9080605@samurai.com> Comments: In-reply-to Neil Conway message dated "Thu, 07 Apr 2005 09:42:30 +1000" Date: Thu, 07 Apr 2005 00:03:26 -0400 Message-ID: <13374.1112846606@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/141 X-Sequence-Number: 11538 Neil Conway writes: > It wouldn't surprise me if gprof didn't get profiling data for dlopen'ed > shared libraries (I haven't checked), but I think both oprofile and > callgrind should be able to. None of the platforms I use are very good at this :-(. Consider building a special backend binary with the functions of interest statically linked into it... regards, tom lane