Skip to content

verbose tracing doesn't refresh  #526

Closed
@keqiaozhang

Description

@keqiaozhang

sof-logger -t doesn't refresh under one condition, when runtime is suspended, run sof-logger first and then do audio playback.

How to reproduce:

  1. enable verbose in trace.h
  2. make sure runtime is suspended
    cat /sys/bus/pci/devices/0000:00:0e.0/power/runtime_status
  3. open the trace log on one terminal
    sof-logger -l sof-apl.ldc -t
  4. run audio in another terminal
    speaker-test -Dhw:0,1 -c 2 -t wav
  5. check the trace log output, no refresh.

But if we run audio first then open trace log, no such issue, trace log will continue to update.

There is no obvious log in kernel dmesg. logger output shows as below:

CORE  LEVEL  COMP_ID        TIMESTAMP            DELTA                FILE_NAME        CONTENT
    0      2     WAIT  12693428.697917  12693429.000000 ../../src/include/sof/wait.h:76         WFX
    0      2     PIPE  12693432.447917         3.750000           schedule.c:368        sch
    0      2     WAIT  12693436.666667         4.218750 ../../src/include/sof/wait.h:73         WFE
    0      2     WAIT  12694428.697917       992.031250 ../../src/include/sof/wait.h:76         WFX
    0      2     PIPE  12694432.604167         3.906250           schedule.c:368        sch
    0      2     WAIT  12694436.875000         4.270833 ../../src/include/sof/wait.h:73         WFE
    0      2     WAIT  12695428.697917       991.822937 ../../src/include/sof/wait.h:76         WFX
    0      2     PIPE  12695432.447917         3.750000           schedule.c:368        sch
    0      2     WAIT  12695436.822917         4.375000 ../../src/include/sof/wait.h:73         WFE
    0      2     WAIT  12696428.697917       991.875000 ../../src/include/sof/wait.h:76         WFX

logger-t.log

Metadata

Metadata

Labels

GLKApplies to Gemini Lake platformP2Critical bugs or normal featuresbugSomething isn't working as expectedverifiedQA/Bug reporter verifies solution worked.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions