Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f211cc46 authored by John Reck's avatar John Reck
Browse files

Update LeakChecker debug log

Test: manual
Change-Id: I3c2f8c77dba2955d5cebb1c3d511411350e18850
parent d9e57599
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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);
    }