-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cras: add perfetto logs for hw_level, {write, read}_frames, overrun, …
…underrun Add perfetto counters: * CRAS_SPK_HW_LEVEL, * CRAS_FLOOP_OUT_HW_LEVEL, * CRAS_INTERNAL_MIC_HW_LEVEL * CRAS_FLOOP_IN_HW_LEVEL, * CRAS_SPK_WRITE_FRAMES, * CRAS_FLOOP_OUT_WRITE_FRAMES, * CRAS_FLOOP_IN_READ_FRAMES, * CRAS_INTERNAL_MIC_READ_FRAMES Add perfetto TRACE_INSTANT: * ${NODE_TYPE}_UNDERRUN * ${NODE_TYPE}_OVERERRUN It's for debugging floop overrun issue. It only support logs for One pair of floop device. BUG=b:362679648 TEST=1. Enable Chrome: Audio and audio category in https://ui.perfetto.dev/ 2. record the perfetto log and verify these log out exists. Change-Id: I55a7e1d3bce14c98ff65b43c08dad5be0419a03a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5859818 Reviewed-by: Curtis Malainey <cujomalainey@chromium.org> Tested-by: Judy Hsiao <judyhsiao@google.com> Commit-Queue: Judy Hsiao <judyhsiao@google.com> Tested-by: chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com <chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com>
- Loading branch information
1 parent
6b65a41
commit 5b04a3b
Showing
12 changed files
with
149 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters