diff options
author | Glenn Kasten <gkasten@google.com> | 2015-03-05 16:37:47 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2015-03-06 09:29:51 -0800 |
commit | 0b89bc0d285b8fd4798df1ff0ba9f93851a3bd48 (patch) | |
tree | 9c7813d20bf4cd16d9cec1ae464877432751703e /services/audioflinger | |
parent | d7dca050c630bddbd73a6623271b34b4290460ee (diff) | |
download | frameworks_av-0b89bc0d285b8fd4798df1ff0ba9f93851a3bd48.zip frameworks_av-0b89bc0d285b8fd4798df1ff0ba9f93851a3bd48.tar.gz frameworks_av-0b89bc0d285b8fd4798df1ff0ba9f93851a3bd48.tar.bz2 |
Display more fields in thread dumpBase
Change-Id: Ice15e999dda2f6cf9d23685ade4a87f74180322d
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/Threads.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index 3474f24..868f5b4 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -741,6 +741,7 @@ void AudioFlinger::ThreadBase::dumpBase(int fd, const Vector<String16>& args __u dprintf(fd, "thread %p may be deadlocked\n", this); } + dprintf(fd, " Thread name: %s\n", mThreadName); dprintf(fd, " I/O handle: %d\n", mId); dprintf(fd, " TID: %d\n", getTid()); dprintf(fd, " Standby: %s\n", mStandby ? "yes" : "no"); @@ -764,6 +765,9 @@ void AudioFlinger::ThreadBase::dumpBase(int fd, const Vector<String16>& args __u } else { dprintf(fd, " none\n"); } + dprintf(fd, " Output device: %#x (%s)\n", mOutDevice, devicesToString(mOutDevice).string()); + dprintf(fd, " Input device: %#x (%s)\n", mInDevice, devicesToString(mInDevice).string()); + dprintf(fd, " Audio source: %d (%s)\n", mAudioSource, sourceToString(mAudioSource)); if (locked) { mLock.unlock(); |