Merge remote-tracking branch 'alanc/master'
This commit is contained in:
commit
9a55b3661b
|
@ -40,12 +40,7 @@ from The Open Group.
|
||||||
#include <X11/extensions/xcmiscproto.h>
|
#include <X11/extensions/xcmiscproto.h>
|
||||||
#include "modinit.h"
|
#include "modinit.h"
|
||||||
|
|
||||||
#if HAVE_STDINT_H
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#elif !defined(UINT32_MAX)
|
|
||||||
#define UINT32_MAX 0xffffffffU
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
ProcXCMiscGetVersion(ClientPtr client)
|
ProcXCMiscGetVersion(ClientPtr client)
|
||||||
|
|
|
@ -38,12 +38,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if HAVE_STDINT_H
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#elif !defined(UINT32_MAX)
|
|
||||||
#define UINT32_MAX 0xffffffffU
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xproto.h>
|
#include <X11/Xproto.h>
|
||||||
#include "scrnintstr.h"
|
#include "scrnintstr.h"
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
# Add & Override for this directory and it's subdirectories
|
# Add & Override for this directory and it's subdirectories
|
||||||
Xserver-dtrace.h
|
Xserver-dtrace.h
|
||||||
|
dix.O
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<article id="Xserver-DTrace">
|
<article id="Xserver-DTrace">
|
||||||
<articleinfo>
|
<articleinfo>
|
||||||
<title>Xserver provider for DTrace</title>
|
<title>Xserver Provider for DTrace</title>
|
||||||
<author>
|
<author>
|
||||||
<firstname>Alan</firstname><surname>Coopersmith</surname>
|
<firstname>Alan</firstname><surname>Coopersmith</surname>
|
||||||
<affiliation>
|
<affiliation>
|
||||||
|
@ -15,11 +15,11 @@
|
||||||
</affiliation>
|
</affiliation>
|
||||||
</author>
|
</author>
|
||||||
<releaseinfo>X.Org Xserver version &xserver.version;</releaseinfo>
|
<releaseinfo>X.Org Xserver version &xserver.version;</releaseinfo>
|
||||||
<legalnotice>
|
<copyright><year>2005</year><year>2006</year><year>2007</year><year>2010</year>
|
||||||
|
<holder>Oracle and/or its affiliates. All rights reserved.</holder>
|
||||||
|
</copyright>
|
||||||
|
<legalnotice id="copyright">
|
||||||
<para>
|
<para>
|
||||||
Copyright (c) 2005, 2006, 2007, 2010, Oracle and/or its affiliates.
|
|
||||||
All rights reserved.
|
|
||||||
</para><para>
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
copy of this software and associated documentation files (the "Software"),
|
copy of this software and associated documentation files (the "Software"),
|
||||||
to deal in the Software without restriction, including without limitation
|
to deal in the Software without restriction, including without limitation
|
||||||
|
@ -79,7 +79,7 @@ DEALINGS IN THE SOFTWARE.
|
||||||
<parameter>arg2</parameter>, etc. These tables should help you
|
<parameter>arg2</parameter>, etc. These tables should help you
|
||||||
determine what the real data is for each of the probe arguments.
|
determine what the real data is for each of the probe arguments.
|
||||||
|
|
||||||
<table>
|
<table id="Probes_and_their_arguments">
|
||||||
<title>Probes and their arguments</title>
|
<title>Probes and their arguments</title>
|
||||||
<tgroup cols='7'>
|
<tgroup cols='7'>
|
||||||
<colspec colname="probe" colwidth="2*"/>
|
<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
|
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>.
|
need to use <ulink url="http://wikis.sun.com/display/DTrace/Actions+and+Subroutines#ActionsandSubroutines-{{copyin}}"><function>copyin()</function></ulink>.
|
||||||
|
|
||||||
<table>
|
<table id="Probe_Arguments">
|
||||||
<title>Probe Arguments</title>
|
<title>Probe Arguments</title>
|
||||||
<tgroup cols='3'>
|
<tgroup cols='3'>
|
||||||
<colspec colname="arg" colwidth="2*"/>
|
<colspec colname="arg" colwidth="2*"/>
|
||||||
|
@ -313,7 +313,7 @@ DEALINGS IN THE SOFTWARE.
|
||||||
<sect1 id="examples">
|
<sect1 id="examples">
|
||||||
<title>Examples</title>
|
<title>Examples</title>
|
||||||
|
|
||||||
<example>
|
<example id="Counting_requests_by_request_name">
|
||||||
<title>Counting requests by request name</title>
|
<title>Counting requests by request name</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -370,7 +370,7 @@ Xserver*:::request-start
|
||||||
</para>
|
</para>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
<example>
|
<example id="Get_average_CPU_time_per_request">
|
||||||
<title>Get average CPU time per request</title>
|
<title>Get average CPU time per request</title>
|
||||||
|
|
||||||
<para>This script records the CPU time used between the probes at
|
<para>This script records the CPU time used between the probes at
|
||||||
|
@ -419,7 +419,7 @@ Xserver*:::request-done
|
||||||
</para>
|
</para>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
<example>
|
<example id="Monitoring_clients_that_connect_and_disconnect">
|
||||||
<title>Monitoring clients that connect and disconnect</title>
|
<title>Monitoring clients that connect and disconnect</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -476,7 +476,7 @@ CPU ID FUNCTION:NAME
|
||||||
</para>
|
</para>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
<example>
|
<example id="Monitoring_clients_creating_Pixmaps">
|
||||||
<title>Monitoring clients creating Pixmaps</title>
|
<title>Monitoring clients creating Pixmaps</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -178,9 +178,6 @@
|
||||||
/* Define to 1 if you have the `shmctl64' function. */
|
/* Define to 1 if you have the `shmctl64' function. */
|
||||||
#undef HAVE_SHMCTL64
|
#undef HAVE_SHMCTL64
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
|
||||||
#undef HAVE_STDINT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#undef HAVE_STDLIB_H
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
os.O
|
|
@ -52,11 +52,7 @@
|
||||||
#include "panoramiXsrv.h"
|
#include "panoramiXsrv.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_STDINT_H
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#elif !defined(UINT32_MAX)
|
|
||||||
#define UINT32_MAX 0xffffffffU
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static int ProcRenderQueryVersion (ClientPtr pClient);
|
static int ProcRenderQueryVersion (ClientPtr pClient);
|
||||||
static int ProcRenderQueryPictFormats (ClientPtr pClient);
|
static int ProcRenderQueryPictFormats (ClientPtr pClient);
|
||||||
|
|
Loading…
Reference in New Issue