The dtrace code in the server wants to log the name of each executed
request, which it gets from the registry. Use that as an additional
indication of when that portion of the registry should be included in
the server build.

See:

http://tinderbox.x.org/builds/2014-09-19-0003/logs/xserver/#build

Cc: Dave Airlie <[email protected]>
Signed-off-by: Keith Packard <[email protected]>
---
 include/registry.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/registry.h b/include/registry.h
index 43c3db3..f50fa76 100644
--- a/include/registry.h
+++ b/include/registry.h
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
THE SOFTWARE.
 #define X_REGISTRY_RESOURCE       1
 #endif
 
-#if defined(XSELINUX) || defined(XCSECURITY)
+#if defined(XSELINUX) || defined(XCSECURITY) || defined(XSERVER_DTRACE)
 #define X_REGISTRY_REQUEST        1
 #endif
 
-- 
2.1.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to