Uh oh!
There was an error while loading. Please reload this page.
logger: add ktime and date in header - #4105
Conversation
Need to be more flexible for changes like thesofproject/sof#4086 or thesofproject/sof#4105 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
check-sof-logger fails all across https://sof-ci.01.org/sofpr/PR4105/build8853/devicetest/ because it expects the |
Need to be more flexible for changes like thesofproject/sof#4086 or thesofproject/sof#4105 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
marc-hb
commented
Apr 28, 2021
SOFCI TEST |
marc-hb
commented
Apr 28, 2021
Some tests failed in https://sof-ci.01.org/sof-pr-viewer/#/build/PR4105/build6363075 but only on ICL_SSP and not all tests running on ICL_SSP so these failures do not seem related to this pure header change. In fact this PR cannot have caused these tests to fail because they... worryingly do not build sof-logger from the latest source but use some other, more static version instead! You can tell by opening
|
marc-hb
commented
Apr 28, 2021
After merging thesofproject/sof-test#668 , https://sof-ci.01.org/sofpr/PR4105/build8854/devicetest/ is all green and the outputs look good. |
marc-hb
commented
Apr 28, 2021
Very good question. I thought about this and assumed a single line difference for identical logs was a "feature" but thinking about it a bit more now I see these new timestamps could complicate some automated diff / scripting. If anyone has ever used the |
lgirdwood
commented
Apr 28, 2021
Every log file should have a date. ktime can be related to the TIMESTAMP column. It is especially useful to spot logs delayed or stuck. Some logs use ktime while others use a date and it can be sometimes difficult to connect them with one another. This header can help. Before: TIMESTAMP (us) DELTA C# COMPONENT CONTENT [ 5120116529] ( 0) c0 dma-trace ERROR FW ABI 0x3012001 ... After: TIMESTAMP (us) DELTA C# COMPONENT \ CONTENT ktime=5132.663s @ 2021-04-27 14:36:09 -0700 PDT [ 5120116529] ( 0) c0 dma-trace ERROR FW ABI 0x3012001 ... Signed-off-by: Marc Herbert <marc.herbert@intel.com>
marc-hb
commented
Apr 28, 2021
Done, this can now be turned off with |
cujomalainey
commented
Apr 28, 2021
then there is me who fails to check |
marc-hb
commented
Apr 29, 2021
The checktree regression seen in https://github.com/thesofproject/sof/pull/4105/checks?check_run_id=2461722482 has been introduced by #4111 , unrelated. The rtcwake failure in https://sof-ci.01.org/sofpr/PR4105/build8867/devicetest/?model=APL_UP2_NOCODEC&testcase=check-suspend-resume-with-capture is very interesting (and unrelated) |
Every log file should have a date.
ktime can be related to the TIMESTAMP column. It is especially useful to
spot logs delayed or stuck.
Some logs use ktime while others use a date and it can be sometimes
difficult to connect them with one another. This header can help.
Before:
After:
Signed-off-by: Marc Herbert marc.herbert@intel.com