Skip to content

[BUG] mtrace dropping log messages  #6669

@kv2019i

Description

@kv2019i

Describe the bug
The mtrace logging backend loses log messages in fairly common use-cases. As the backend is based on use of a small SRAM window, it simply cannot handle a large bandwidth of messages, but performance should be sufficient with ERR/WARN/INFO level logs that are currently the default in SOF Zephyr builds.

To Reproduce
~/sof-test/test-case/multiple-pipeline.sh -f p -l 5

Reproduction Rate
Roughly 20% log messages lost in the above multiple-pipeline test.

Expected behavior
<1% lost rate in defaul config

Impact
Makes debugging more difficult using FW logs

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: sof-dev c693d0caf6fa1b416d08d48eacbb5db96a8fac58
    • SOF: main 880857b
  2. Name of the topology file
    • Topology: sof-tgl-nocodec, IPC4 test
  3. Name of the platform(s) on which the bug is observed.
    • Platform: TGL cavs2.5

Screenshots or console output

Metadata

Metadata

Assignees

Labels

IPC4Issues observed with IPC4 (same IPC as Windows)ZephyrIssues only observed with Zephyr integratedbugSomething isn't working as expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions