aboutsummaryrefslogtreecommitdiffstats
path: root/linker/linker_debug.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-03-07 11:48:58 -0800
committerElliott Hughes <enh@google.com>2013-03-07 11:51:10 -0800
commit0493a6f7be42e22d68e1d6ddb8eb2edaf818756f (patch)
tree3d0aacb40e3d21584c3d6617c44cdaccc3208040 /linker/linker_debug.h
parentc9f80814259a81dce12ba35d1750fa2b23fef48d (diff)
downloadandroid_bionic-0493a6f7be42e22d68e1d6ddb8eb2edaf818756f.tar.gz
android_bionic-0493a6f7be42e22d68e1d6ddb8eb2edaf818756f.tar.bz2
android_bionic-0493a6f7be42e22d68e1d6ddb8eb2edaf818756f.zip
Regenerate NOTICE files.
Also clean up some obsolete cruft. Change-Id: Iec3b36f6607f7a08b72de99294ed5b6cd910dd5f
Diffstat (limited to 'linker/linker_debug.h')
-rw-r--r--linker/linker_debug.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/linker/linker_debug.h b/linker/linker_debug.h
index bf9ef921f..6aeb9ac1e 100644
--- a/linker/linker_debug.h
+++ b/linker/linker_debug.h
@@ -31,10 +31,16 @@
#include <stdio.h>
-/* set LINKER_DEBUG_TO_LOG to 1 to send the logs to logcat,
- * or 0 to use stdout instead.
- */
+// You can increase the verbosity of debug traces by defining the LD_DEBUG
+// environment variable to a numeric value from 0 to 2 (corresponding to
+// INFO, TRACE, and DEBUG calls in the source). This will only
+// affect new processes being launched.
+
+// By default, traces are sent to logcat, with the "linker" tag. You can
+// change this to go to stdout instead by setting the definition of
+// LINKER_DEBUG_TO_LOG to 0.
#define LINKER_DEBUG_TO_LOG 1
+
#define TRACE_DEBUG 1
#define DO_TRACE_LOOKUP 1
#define DO_TRACE_RELO 1