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 5067053821 for ; Thu, 7 Apr 2005 16:58:02 +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 21503-02 for ; Thu, 7 Apr 2005 15:57:52 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 0B2E7537EB for ; Thu, 7 Apr 2005 16:57:51 +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 j37Fvjxn003262; Thu, 7 Apr 2005 11:57:45 -0400 (EDT) To: "Mohan, Ross" Cc: pgsql-performance@postgresql.org Subject: Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote" In-reply-to: References: Comments: In-reply-to "Mohan, Ross" message dated "Thu, 07 Apr 2005 15:21:32 -0000" Date: Thu, 07 Apr 2005 11:57:44 -0400 Message-ID: <3261.1112889464@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/162 X-Sequence-Number: 11559 "Mohan, Ross" writes: > Is compiling postmaster with profiling support just a flag > in the build/make? Or is there something more involved? cd .../src/backend make PROFILE="-pg -DLINUX_PROFILE" all reinstall binary You don't need -DLINUX_PROFILE if not on Linux, of course. regards, tom lane