From 9d6469c9b268edc6b864b94c284a993a50b289b6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 26 Jun 2009 22:08:17 +0000 Subject: [PATCH] Add a note about SystemTap vs DTrace spelling of probe names. --- doc/src/sgml/monitoring.sgml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index f5dce009ff..7bd21a74b4 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1,4 +1,4 @@ - + Monitoring Database Activity @@ -1568,6 +1568,17 @@ Commit 70 Total time (ns) 2312105013 + + + + SystemTap uses a different notation for trace scripts than DTrace does, + even though the underlying trace points are compatible. One point worth + noting is that at this writing, SystemTap scripts must reference probe + names using double underlines in place of hyphens. This is expected to + be fixed in future SystemTap releases. + + + You should remember that DTrace scripts need to be carefully written and debugged, otherwise the trace information collected might @@ -1576,6 +1587,7 @@ Total time (ns) 2312105013 discussing information found using dynamic tracing, be sure to enclose the script used to allow that too to be checked and discussed. + More example scripts can be found in the PgFoundry dtrace project. -- 2.40.0