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

Matt Dew marcoz at osource.org
Sat Sep 17 16:37:41 PDT 2011


Hi Alan,
   In the IDs attributes for funcdef, sect and chapter, I was keeping 
the id attributes matching the <title>.   (I've got a series of patches 
coming any day now(TM) to that effect,)

<table id="probe-table">
<title>Probes and their arguments</title>

would be:

<table id='Probes_and_their_arguments'>
<title>Probes and their arguments</title>

Is that appropriate here for consistency?

Matt


On 09/16/2011 07:17 PM, 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">
>         <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>



More information about the xorg-devel mailing list