diff options
author | Hsin-Yu Chao <hychao@chromium.org> | 2020-07-07 10:02:20 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-11 11:19:57 +0000 |
commit | ce0e1810cde9f9ee318421e7369f0abf70f9d53f (patch) | |
tree | ac4d5124645b2ca745e3f94dc29713ebc86dd7ed /scripts/audio_diagnostics | |
parent | 98f61405cb20dbb78134a1079fb48b791292a505 (diff) | |
download | adhd-ce0e1810cde9f9ee318421e7369f0abf70f9d53f.tar.gz |
CRAS: Add main thread event logs
There are important events in main thread that worth logging.
Adding event logs similar to what we did in audio thread, to
store the history of main thread events, can be dump later by
cras_test_client --dump_main
BUG=b:160788922
TEST=cras_test_client --dump_main
Change-Id: I004c53b2b417e2df70437f598268a7eea3d9cfdc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2296406
Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Commit-Queue: Hsinyu Chao <hychao@chromium.org>
Diffstat (limited to 'scripts/audio_diagnostics')
-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 146fed7f..b754c07c 100755 --- a/scripts/audio_diagnostics +++ b/scripts/audio_diagnostics @@ -35,6 +35,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_main ===' +cras_test_client --dump_main + echo '=== cras_test_client --dump_bt ===' cras_test_client --dump_bt |