summaryrefslogtreecommitdiff
path: root/src/sna/sna_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-18 19:59:14 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-18 19:59:14 +0100
commit377b0e8657aab13dc90134853a03feb95f515567 (patch)
tree4e0525f924679cc4d3f73002135fcaa00882bf54 /src/sna/sna_driver.c
parent273c82a574896885f9f4a78a7463cc4620803624 (diff)
sna: Add log breadcrumbs with valgrind
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r--src/sna/sna_driver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 79572a17..e0995ceb 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -1326,6 +1326,11 @@ static void describe_sna(ScrnInfoPtr scrn)
xf86DrvMsg(scrn->scrnIndex, X_INFO,
"SNA compiled with extra pixmap/damage validation\n");
#endif
+#ifdef HAVE_VALGRIND
+ xf86DrvMsg(scrn->scrnIndex, X_INFO,
+ "SNA compiled for use with valgrind\n");
+ VALGRIND_PRINTF("SNA compiled for use with valgrind\n");
+#endif
DBG(("pixman version: %s\n", pixman_version_string()));
}