Skip to content

Verbose tracing breaks new logger #214

Closed

Description

@mengdonglin

This is to follow up thesofproject/sof#473 which is closed because this is generic kernel bug on topic/cros-4.14-rebase branch. We cannot reproduce this issue on topic/sof-dev

Please more info from thesofproject/sof#473 (comment)

Activity

  1. added
    P1Blocker bugs or important features
    GLKApplies to Gemini Lake
    on Oct 25, 2018
  2. keyonjie commented on Oct 25, 2018

    @keyonjie

    yes, we know this issue with topic/sof-dev, thanks.

  3. mengdonglin commented on Oct 26, 2018

    @mengdonglin
    Author

    The related logger issues on cros-4.14-rebase branch includes:
    #198
    thesofproject/sof#401
    thesofproject/sof#477

    We'd better to verify them as well to make sure logger can work well cros-4.14-rebase

  4. Jiangxinx commented on Oct 30, 2018

    @Jiangxinx

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

    STEP:
    1.Enable tracev(trace.h):
    -#define TRACEV 0
    +#define TRACEV 1
    2.re-make sof、soft、logger and replace them on UP2
    3.reboot
    4.aplay -Dhw:0,0 audio.wav
    5.sudo sof-logger -l sof-apl.ldc -t -o logger.log

    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

    this issue is still there, error message as below:
    chronos@localhost ~ $ sudo /usr/local/bin/sof-logger -l /root/sof-apl.ldc-master-11-1 -t
    CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT
    0 1 unknown 1460584.125000 1460584.000000 dma-trace.c:417 Number of dropped logs: 0
    Error: Invalid number of parameters.
    chronos@localhost ~ $ sudo /usr/local/bin/sof-logger -l /root/sof-apl.ldc-master-11-1
    CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT
    Error: Invalid filename length.

    Tested with:
    soft-master:4ac9248f
    sof-master:43da16
    kernel-debug/cros-v4.14-rebase: 90eee4

  6. keqiaozhang commented on Nov 1, 2018

    @keqiaozhang

    Sorry, I missed to update the ldc file.
    After updated the ldc file, now sof-logger works well without error.
    So this issue can be closed now.

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