summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2017-07-06 12:52:31 -0700
committer John Reck <jreck@google.com> 2017-07-06 12:52:51 -0700
commitf211cc462eac86786231b582ac64da589d9117ce (patch)
treee86eb2f5ab48d578c1e53aa5ab425d79ebee9e6f
parentd9e57599d11f07e7c094c57e97b4d5fb8ee75e92 (diff)
Update LeakChecker debug log
Test: manual Change-Id: I3c2f8c77dba2955d5cebb1c3d511411350e18850
-rw-r--r--libs/hwui/tests/common/LeakChecker.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/hwui/tests/common/LeakChecker.cpp b/libs/hwui/tests/common/LeakChecker.cpp
index d935382cc9a4..fe38ec958527 100644
--- a/libs/hwui/tests/common/LeakChecker.cpp
+++ b/libs/hwui/tests/common/LeakChecker.cpp
@@ -58,9 +58,8 @@ static void logUnreachable(initializer_list<UnreachableMemoryInfo> infolist) {
if (merged.num_leaks) {
cout << endl << "Leaked memory!" << endl;
if (!merged.leaks[0].backtrace.num_frames) {
- cout << "Re-run with 'setprop libc.debug.malloc.program hwui_unit_test'"
- << endl << "and 'setprop libc.debug.malloc.options backtrace=8'"
- << " to get backtraces" << endl;
+ cout << "Re-run with 'export LIBC_DEBUG_MALLOC_OPTIONS=backtrace' to get backtraces"
+ << endl;
}
cout << merged.ToString(false);
}