The error trace debugfs entry (/sys/kernel/debug/sof/etrace) is always empty which lead to we can't get any error trace with sof-logger (sof-logger -l *.ldc), this is bad for debugging when DMA trace doesn't work because of FW hanged or crashed.
To Reproduce
Do anything can lead to FW reporting tr_err() or comp_err(), and check the "sof-logger -l *.ldc".
Reproduction Rate
100%
Expected behavior
We should see the error trace logs in sof-logger output.
Impact
This will make it difficult for FW debugging when FW is hang or crashed.
Environment
Any Intel platforms
The error trace debugfs entry (/sys/kernel/debug/sof/etrace) is always empty which lead to we can't get any error trace with sof-logger (sof-logger -l *.ldc), this is bad for debugging when DMA trace doesn't work because of FW hanged or crashed.
To Reproduce
Do anything can lead to FW reporting tr_err() or comp_err(), and check the "sof-logger -l *.ldc".
Reproduction Rate
100%
Expected behavior
We should see the error trace logs in sof-logger output.
Impact
This will make it difficult for FW debugging when FW is hang or crashed.
Environment
Any Intel platforms