Skip to content

[BUG] error trace debugfs entry (etrace) is always empty #3265

@keyonjie

Description

@keyonjie

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

Metadata

Metadata

Assignees

Labels

P1Blocker bugs or important featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions