mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Fix a few typos in the DTrace docs. Patch from Euler Taveira de Oliveira,
along with an additional typo I noticed along the way.
This commit is contained in:
parent
86fdb32bd0
commit
3eb9da524d
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.59 2008/05/15 00:17:39 tgl Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.60 2008/06/18 17:44:12 neilc Exp $ -->
|
||||||
|
|
||||||
<chapter id="monitoring">
|
<chapter id="monitoring">
|
||||||
<title>Monitoring Database Activity</title>
|
<title>Monitoring Database Activity</title>
|
||||||
@ -1190,7 +1190,7 @@ Total time (ns) 2312105013
|
|||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>
|
<para>
|
||||||
Add the probe definitons to <filename>src/backend/src/utils/probes.d</>
|
Add the probe definitions to <filename>src/backend/utils/probes.d</>
|
||||||
</para>
|
</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
@ -1224,7 +1224,7 @@ Total time (ns) 2312105013
|
|||||||
<step>
|
<step>
|
||||||
<para>
|
<para>
|
||||||
Add <quote>probe transaction__start(int);</quote> to
|
Add <quote>probe transaction__start(int);</quote> to
|
||||||
<filename>src/backend/src/utils/probes.d</>, and it should look like the following:
|
<filename>src/backend/utils/probes.d</>, and it should look like the following:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
provider postgresql {
|
provider postgresql {
|
||||||
...
|
...
|
||||||
@ -1247,7 +1247,7 @@ provider postgresql {
|
|||||||
<para>
|
<para>
|
||||||
At compile time, transaction__start is converted to a macro called
|
At compile time, transaction__start is converted to a macro called
|
||||||
TRACE_POSTGRESQL_TRANSACTION_START, and it resides in
|
TRACE_POSTGRESQL_TRANSACTION_START, and it resides in
|
||||||
<filename>src/backend/src/utils/probes.h</>. Before recompiling, add
|
<filename>src/backend/utils/probes.h</>. Before recompiling, add
|
||||||
the single line macro to the appropriate location in the source code.
|
the single line macro to the appropriate location in the source code.
|
||||||
In this case, it looks like the following:
|
In this case, it looks like the following:
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user