Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 471913a

Browse files
committed
More fixes for 8.4 DTrace probes. Remove useless BUFFER_HIT/BUFFER_MISS
probes --- the BUFFER_READ_DONE probe provides the same information and more besides. Expand the LOCK_WAIT_START/DONE probe arguments so that there's actually some chance of telling what is being waited for. Update and clean up the documentation.
1 parent c242e6b commit 471913a

File tree

5 files changed

+282
-207
lines changed

5 files changed

+282
-207
lines changed

doc/src/sgml/installation.sgml

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.319 2009/02/04 21:30:41 alvherre Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.320 2009/03/23 01:52:38 tgl Exp $ -->
22

33
<chapter id="installation">
44
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -1305,31 +1305,32 @@ su - postgres
13051305
<indexterm>
13061306
<primary>DTrace</primary>
13071307
</indexterm>
1308-
Compiles with support for the dynamic tracing tool DTrace.
1309-
Operating system support for DTrace is currently available in
1310-
Solaris and Mac OS X Leopard.
1308+
Compiles <productname>PostgreSQL</productname> with support for the
1309+
dynamic tracing tool DTrace.
1310+
<![%standalone-ignore[See <xref linkend="dynamic-trace">
1311+
for more information.]]>
13111312
</para>
13121313

13131314
<para>
13141315
To point to the <command>dtrace</command> program, the
13151316
environment variable <envar>DTRACE</envar> can be set. This
13161317
will often be necessary because <command>dtrace</command> is
13171318
typically installed under <filename>/usr/sbin</filename>,
1318-
which might not be in the path. Additional command-line
1319-
options for the <command>dtrace</command> program can be
1320-
specified in the environment variable
1321-
<envar>DTRACEFLAGS</envar>.
1319+
which might not be in the path.
13221320
</para>
13231321

13241322
<para>
1325-
To include DTrace support in a 64-bit binary, specify
1323+
Extra command-line options for the <command>dtrace</command> program
1324+
can be specified in the environment variable
1325+
<envar>DTRACEFLAGS</envar>. On Solaris,
1326+
to include DTrace support in a 64-bit binary, you must specify
13261327
<literal>DTRACEFLAGS="-64"</> to configure. For example,
13271328
using the GCC compiler:
13281329
<screen>
13291330
./configure CC='gcc -m64' --enable-dtrace DTRACEFLAGS='-64' ...
1330-
</screen>
1331+
</screen>
13311332
Using Sun's compiler:
1332-
<screen>
1333+
<screen>
13331334
./configure CC='/opt/SUNWspro/bin/cc -xtarget=native64' --enable-dtrace DTRACEFLAGS='-64' ...
13341335
</screen>
13351336
</para>
@@ -2942,7 +2943,7 @@ LIBOBJS = snprintf.o
29422943
<para>
29432944
Yes, using DTrace is possible. See <![%standalone-include[the
29442945
documentation]]>
2945-
<![%standalone-ignore[<xref linkend="monitoring">]]> for further
2946+
<![%standalone-ignore[<xref linkend="dynamic-trace">]]> for further
29462947
information. You can also find more information in this
29472948
article: <ulink url="http://blogs.sun.com/robertlor/entry/user_level_dtrace_probes_in"></ulink>.
29482949
</para>

0 commit comments

Comments
 (0)