diff options
author | Paul Hsia <paulhsia@google.com> | 2018-07-25 15:43:48 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-09 22:04:24 -0700 |
commit | f4065c99bba1d98420e123ea11e87cc484293023 (patch) | |
tree | a5d665d2f9653c9bacce9bcb613f519e82fe97ac /scripts | |
parent | b84cfd65e2de424b4b6f0026ec91f69b67b5653e (diff) | |
download | adhd-f4065c99bba1d98420e123ea11e87cc484293023.tar.gz |
adhd: Print snapshots in audio_diagnostics
Use command
$ cras_test_client --dump_events
to show the event snapshots for audio thread.
BUG=chromium:866240
TEST=Run audio_diagnostics on DUT and check if snapshots are in
the printed results.
Change-Id: Ic6124ae776f15bf7ebfc27eff1bfe3b731a56173
Reviewed-on: https://chromium-review.googlesource.com/1149760
Commit-Ready: Chih-Yang Hsia <paulhsia@chromium.org>
Tested-by: Chih-Yang Hsia <paulhsia@chromium.org>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/audio_diagnostics | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/audio_diagnostics b/scripts/audio_diagnostics index 5ec96a9e..83a380cc 100755 --- a/scripts/audio_diagnostics +++ b/scripts/audio_diagnostics @@ -22,6 +22,9 @@ cras_test_client --dump_server_info echo '=== cras_test_client --dump_audio_thread ===' cras_test_client --dump_audio_thread +echo '=== cras_test_client --dump_events ===' +cras_test_client --dump_events + echo '=== aplay -l ===' aplay -l echo '=== arecord -l ===' |