summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-09-20 04:04:43 -0700
committerKeith Packard <keithp@keithp.com>2014-09-22 12:00:46 -0700
commit18935b41e13b34571ffda84bde5257b8e84e6d1f (patch)
tree87eedc1c7c32c5f4a9a3fb8ba5a3e4801e233a9c
parent28337cb14e4347e1dd7936c5393a22e042866687 (diff)
XSERVER_DTRACE needs request names from registry too
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 Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Dave Airlie <airlied@gmail.com>
-rw-r--r--include/registry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/registry.h b/include/registry.h
index 43c3db339..f50fa7622 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