Add a note about SystemTap vs DTrace spelling of probe names.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 26 Jun 2009 22:08:17 +0000 (22:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 26 Jun 2009 22:08:17 +0000 (22:08 +0000)
doc/src/sgml/monitoring.sgml

index 7dfc9ba1ba50d4af647a334bf3516503e3d5dfac..31da86d4e774f3473ff5d3ac2d00b57b41ef432d 100644 (file)
@@ -1568,6 +1568,17 @@ Commit                                         70
 Total time (ns)                        2312105013
 </screen>
   </para>
+
+  <note>
+   <para>
+    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.
+   </para>
+  </note>
+
   <para>
    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.
   </para>
+
   <para>
    More example scripts can be found in the PgFoundry
    <ulink url="http://pgfoundry.org/projects/dtrace/">dtrace project</ulink>.