show valgrind status on startup
authorLennart Poettering <lennart@poettering.net>
Fri, 3 Oct 2008 22:13:29 +0000 (00:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 3 Oct 2008 22:13:29 +0000 (00:13 +0200)
src/daemon/main.c

index 53f5d19..fad635f 100644 (file)
@@ -793,6 +793,8 @@ int main(int argc, char *argv[]) {
     pa_log_debug(_("Compiled with Valgrind support: no"));
 #endif
 
+    pa_log_debug(_("Running in valgrind mode: %s"), pa_yes_no(pa_in_valgrind()));
+
 #ifdef __OPTIMIZE__
     pa_log_debug(_("Optimized build: yes"));
 #else