sof/tools/logger
Marc Herbert 7dbcd7ee33 logger: add ktime and date in header
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>
2021-04-29 12:09:10 +01:00
..
CMakeLists.txt logger: Parse runtime filter levels 2020-08-25 13:09:38 +01:00
convert.c logger: add ktime and date in header 2021-04-29 12:09:10 +01:00
convert.h logger: new relative timestamps option, relative to first entry seen 2021-04-02 13:35:48 +01:00
filter.c Add and fix many logger and dma-related comments. No code change. 2021-04-28 15:52:44 +01:00
filter.h logger: Create global convert_config variable to avoid spaghetti code. 2020-09-01 10:11:55 +01:00
logger.c Add and fix many logger and dma-related comments. No code change. 2021-04-28 15:52:44 +01:00
misc.c Add and fix many logger and dma-related comments. No code change. 2021-04-28 15:52:44 +01:00
misc.h logger: use __attribute__((format(printf, 1, 2))) in misc.h 2020-09-14 10:43:54 +01:00