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

Commit fba891da authored by Andy Hung's avatar Andy Hung
Browse files

AudioFlinger: dumpsys of audio mutex timing

Test: adb shell dumpsys media.audio_flinger
Bug: 209491695
Change-Id: I26c9faa28b20b87a813ef99327593e509a96a4a7
parent e4f0d2c5
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -877,6 +877,9 @@ NO_THREAD_SAFETY_ANALYSIS // conditional try lock
            write(fd, timeCheckStats.c_str(), timeCheckStats.size());
            write(fd, timeCheckStats.c_str(), timeCheckStats.size());
            dprintf(fd, "\n");
            dprintf(fd, "\n");
        }
        }
        // dump mutex stats
        const auto mutexStats = audio_utils::mutex::all_stats_to_string();
        write(fd, mutexStats.c_str(), mutexStats.size());
    }
    }
    return NO_ERROR;
    return NO_ERROR;
}
}