summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian2007-02-21 15:12:39 +0000
committerBruce Momjian2007-02-21 15:12:39 +0000
commit6765df9174a45f3306b1e20f8472c6eedbf24341 (patch)
tree7d8f140ee911e160f1741e5abbaaa162526458b0 /doc/src
parent879caf13693031f32ec050966cd20bf72b535adb (diff)
Add configure --enable-profiling to enable GCC profiling. Patches from
Korry Douglas and Nikhil S
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/installation.sgml14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index ddd185fa42c..bc7d3aef615 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.284 2007/02/19 18:57:18 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.285 2007/02/21 15:12:39 momjian Exp $ -->
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -1041,6 +1041,18 @@ su - postgres
</varlistentry>
<varlistentry>
+ <term><option>--enable-profiling</option></term>
+ <listitem>
+ <para>
+ If using GCC, all programs and libraries are compiled so they
+ can be profiled. On backend exit, a subdirectory will be created
+ that contains the <filename>gmon.out</> file for use in profiling.
+ This option is for use only with GCC and when doing development work.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--enable-cassert</option></term>
<listitem>
<para>