[PATCH] Assign ids to more tags in Xserver-Dtrace.xml

Gaetan Nadon memsize at videotron.ca
Sat Sep 17 12:53:10 PDT 2011


On Fri, 2011-09-16 at 17:17 -0700, Alan Coopersmith wrote:

> Keeps xsltproc from adding random-number id tags to html output so that
> it's easier to see real changes vs. different random numbers.
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  doc/dtrace/Xserver-DTrace.xml |   14 +++++++-------
>  1 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/doc/dtrace/Xserver-DTrace.xml b/doc/dtrace/Xserver-DTrace.xml
> index 69cd30e..ebba466 100644
> --- a/doc/dtrace/Xserver-DTrace.xml
> +++ b/doc/dtrace/Xserver-DTrace.xml
> @@ -15,7 +15,7 @@
>        </affiliation>
>      </author>
>      <releaseinfo>X.Org Xserver version &xserver.version;</releaseinfo>
> -    <legalnotice>
> +    <legalnotice id="copyright">

This one would be easy to mass produce in the 60 docs. I'll add on my
todo if I don't hear otherwise.

>        <para>
>  Copyright (c) 2005, 2006, 2007, 2010, Oracle and/or its affiliates.
>  All rights reserved.
> @@ -79,7 +79,7 @@ DEALINGS IN THE SOFTWARE.
>        <parameter>arg2</parameter>, etc.  These tables should help you
>        determine what the real data is for each of the probe arguments.
>  
> -    <table>
> +    <table id="probe-table">
>        <title>Probes and their arguments</title>
>        <tgroup cols='7'>
>  	<colspec colname="probe" colwidth="2*"/>
> @@ -195,7 +195,7 @@ DEALINGS IN THE SOFTWARE.
>        To access data buffers referenced via <type>uintptr_t</type>'s, you will
>        need to use <ulink url="http://wikis.sun.com/display/DTrace/Actions+and+Subroutines#ActionsandSubroutines-{{copyin}}"><function>copyin()</function></ulink>.
>  
> -    <table>
> +    <table id="arguments-table">
>        <title>Probe Arguments</title>
>        <tgroup cols='3'>
>  	<colspec colname="arg" colwidth="2*"/>
> @@ -313,7 +313,7 @@ DEALINGS IN THE SOFTWARE.
>    <sect1 id="examples">
>      <title>Examples</title>
>  
> -    <example>
> +    <example id="counting-requests">
>        <title>Counting requests by request name</title>
>  
>        <para>
> @@ -370,7 +370,7 @@ Xserver*:::request-start
>        </para>
>      </example>
>  
> -    <example>
> +    <example id="cpu-per-request">
>        <title>Get average CPU time per request</title>
>  
>        <para>This script records the CPU time used between the probes at
> @@ -419,7 +419,7 @@ Xserver*:::request-done
>        </para>
>      </example>
>  
> -    <example>
> +    <example id="monitor-connects">
>        <title>Monitoring clients that connect and disconnect</title>
>  
>        <para>
> @@ -476,7 +476,7 @@ CPU     ID                    FUNCTION:NAME
>        </para>
>      </example>
>  
> -    <example>
> +    <example id="monitor-pixmaps">
>        <title>Monitoring clients creating Pixmaps</title>
>  
>        <para>



Reviewed-by: Gaetan Nadon <memsize at videotron.ca>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110917/e543819f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110917/e543819f/attachment.pgp>


More information about the xorg-devel mailing list