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

Commit 5789cd95 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AudioFlinger: dumpsys of audio mutexes held" into main

parents 5fe6def7 c6877d6a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -881,6 +881,10 @@ NO_THREAD_SAFETY_ANALYSIS // conditional try lock
        // dump mutex stats
        const auto mutexStats = audio_utils::mutex::all_stats_to_string();
        write(fd, mutexStats.c_str(), mutexStats.size());

        // dump held mutexes
        const auto mutexThreadInfo = audio_utils::mutex::all_threads_to_string();
        write(fd, mutexThreadInfo.c_str(), mutexThreadInfo.size());
    }
    return NO_ERROR;
}