From 9d998560ea0b6edcec2f1ba41c004e098dea7cec Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Tue, 25 Mar 2008 22:50:27 +0000 Subject: [PATCH] Update documentation for recent DTrace changes. Patch from Robert Lor. --- doc/src/sgml/installation.sgml | 4 +- doc/src/sgml/monitoring.sgml | 204 ++++++++++++++++++++------------- 2 files changed, 129 insertions(+), 79 deletions(-) diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 94451b5f9f..da10a1cf16 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1193,8 +1193,8 @@ su - postgres DTrace Compiles with support for the dynamic tracing tool DTrace. - Operating system support for DTrace is currently only - available in Solaris. + Operating system support for DTrace is currently available in + Solaris and Mac OS X Leopard. diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 8863c421a1..14aee24888 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -947,26 +947,26 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, - A number of trace points, often called probes, are already inserted - into the source code. By default these probes are disabled, and - the user needs to explicitly tell the configure script to make the - probes available in PostgreSQL. + A number of probes or trace points are already inserted + into the source code. By default these probes are not compiled into the + binary, and the user needs to explicitly tell the configure script to make + the probes available in PostgreSQL. - Currently, only the DTrace utility is supported, which is only available - on Solaris Express and Solaris 10+. It is expected that DTrace will - be available in the future on FreeBSD and Mac OS X. + Currently, only the DTrace utility is supported, which is available + on Solaris Express, Solaris 10, and Mac OS X Leopard. It is expected that + DTrace will be available in the future on FreeBSD. Supporting other dynamic tracing utilities is theoretically possible by - changing the definitions for the PG_TRACE macros in - src/include/pg_trace.h. + changing the definitions for the macros in + src/include/utils/probes.h. Compiling for Dynamic Tracing - By default, trace points are disabled, so you will need to + By default, probes are not available, so you will need to explicitly tell the configure script to make the probes available in PostgreSQL. To include DTrace support specify