Skip to content

sof-logger shows nothing w/ or w/o -t parameter #198

Closed

Description

@keqiaozhang

There's no trace available with sof-logger.

How to reproduce:

  1. aplay -Dhw:0,1 audio.wav
  2. sudo /usr/local/bin/sof-logger -l /root/sof-apl.ldc
    CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT
  3. sudo /usr/local/bin/sof-logger -l /root/sof-apl.ldc -t
    CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT

Test-env:
GLK hardware version: Proto2
sof-master:6baff99
soft-master:a1dfcb7
kernel--cros-sof-v4.14-rebase: 3ad0e4d
tplg:sof-glk-da7219.tplg
dmesg-logger.log

Activity

  1. added
    bugSomething isn't working
    P1Blocker bugs or important features
    APLApplies to ApolloLake platform
    GLKApplies to Gemini Lake
    on Oct 22, 2018
  2. zhuqingliang commented on Oct 23, 2018

    @zhuqingliang

    On APL: no log with sof-apl-pcm512x.tplg, but have log with test-ssp5-mclk-0-I2S-volume-s16le-s16le-48k-24576k-nocodec.tplg

  3. Jiangxinx commented on Oct 25, 2018

    @Jiangxinx

    This issue cannot be reproduced with topic/sof-dev branch on UP2.

    sof-logge can show error trace without -t on UP2.

    0 1 VOLUME 31120390.833333 1004787.812500 volume.c:463 xro
    0 1 PIPE 31120404.739583 13.906250 pipeline.c:903 ePU
    0 1 unknown 31120406.927083 2.187500 pipeline.c:904 value 4
    0 1 PIPE 31120410.000000 3.072917 pipeline.c:1198 pxr
    0 1 VOLUME 32124928.281250 1004518.250000 volume.c:463 xro
    0 1 PIPE 32124941.927083 13.645833 pipeline.c:903 ePU
    0 1 unknown 32124944.270833 2.343750 pipeline.c:904 value 4
    0 1 PIPE 32124947.187500 2.916667 pipeline.c:1198 pxr
    0 1 VOLUME 33129776.875000 1004829.687500 volume.c:463 xro
    0 1 PIPE 33129790.885417 14.010417 pipeline.c:903 ePU
    0 1 unknown 3312979.072917 2.187500 pipeline.c:904 value 4
    0 1 PIPE 33129795.989583 2.916667 pipeline.c:1198 pxr

    STEP:
    1.aplay -Dhw:0,0 audio.wav
    2.sudo ./xrun_injection.sh
    3.sudo sof-logger -l sof-apl.ldc

    Test env:
    hardware version: UP2
    sof-master: b793f0c
    soft-master: c9a4c87
    kernel sof-dev: fe8404a
    tplg: sof-apl-pcm512x.tplg

  4. Jiangxinx commented on Oct 30, 2018

    @Jiangxinx

    Not reproduced with kernel branch debug/v4.19-backport, on APL UP2 platfrom.

    STEP:
    1.aplay -Dhw:0,0 audio.wav
    2.sudo ./xrun_injection.sh
    3.sudo sof-logger -l sof-apl.ldc

    Test env:
    hardware version: UP2
    sof-master: 04b1ce4
    soft-master: 4ac9248
    kernel debug/v4.19-backport: e7da1c44
    tplg: sof-apl-pcm512x.tplg

  5. keqiaozhang commented on Nov 1, 2018

    @keqiaozhang
    Author

    This issue is fixed in kernel-debug/cros-v4.14-rebase: 90eee4 on YORP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GLKApplies to Gemini LakeP1Blocker bugs or important featuresbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions