mirror of https://github.com/thesofproject/sof.git
d54a9281f8
This makes the display of the mailbox ring buffer log much less confusing. It should not happen with the DMA trace but will behave the same in case something goes wrong. Before this commit the only clue that wrapping had happened was a NaN in the delta column (instead of the negative value). The "other?" is because the start of the mailbox is sometimes corrupted, or the timestamp goes sometimes back at boot for no obvious reason. In other words this new separator is useful to highlight bugs too. Absolute mode -e 0 with this commit: TIMESTAMP DELTA C# COMPONENT LOCATION [22598174808] ( 11) c0 ipc src/ipc/.... [22598174824] ( 15) c0 ipc src/ipc/.... [22598443257] ( 268433) c0 dma-trace src/trace/.... [22598443271] ( 14) c0 dma-trace src/trace/.... [22598443286] ( 14) c0 dma-trace src/trace/.... [22598943257] ( 499971) c0 dma-trace src/trace/.... --- negative DELTA: wrap, IPC_TRACE, other? --- [22430943257] ( 0) c0 dma-trace src/trace/.... [22530943257] ( 100000000) c0 dma-trace src/trace/.... [22542943257] ( 12000000) c0 dma-trace src/trace/.... [22542943271] ( 14) c0 dma-trace src/trace/.... [22542943285] ( 14) c0 dma-trace src/trace/.... Relative mode -e 1 with this commit: TIMESTAMP DELTA C# COMPONENT LOCATION [ 3080783.6] ( 11.4) c0 ipc src/ipc/.... [ 3080799.1] ( 15.5) c0 ipc src/ipc/.... [ 3349232.5] ( 268433.4) c0 dma-trace src/trace/.... [ 3349246.8] ( 14.3) c0 dma-trace src/trace/.... [ 3349261.2] ( 14.4) c0 dma-trace src/trace/.... [ 3849232.4] ( 499971.2) c0 dma-trace src/trace/.... --- negative DELTA: wrap, IPC_TRACE, other? --- [22430943257.0] ( 0.0) c0 dma-trace src/trace/.... [100000000.0] (100000000.0) c0 dma-trace src/trace/.... [111999999.5] ( 12000000.0) c0 dma-trace src/trace/.... [112000013.9] ( 14.4) c0 dma-trace src/trace/.... [112000028.2] ( 14.3) c0 dma-trace src/trace/.... Signed-off-by: Marc Herbert <marc.herbert@intel.com> |
||
---|---|---|
.github | ||
doc | ||
installer | ||
keys | ||
rimage@d1f91efdc1 | ||
scripts | ||
smex | ||
src | ||
test | ||
tools | ||
zephyr | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CMakeLists.txt | ||
CODEOWNERS | ||
Kconfig | ||
LICENCE | ||
README.md |
README.md
Sound Open Firmware
Status
Documentation
See docs
Running the tests
See unit testing documentation
Deployment
TODO: Add additional notes about how to deploy this on a live system
Contributing
See Contributing to the Project
License
This project is licensed under the BSD Clause 3 - see the LICENCE file for details