Skip to content

[BUG] unable to enable probes logging for MTL #7218

Closed

Description

@kv2019i

Describe the bug
Build fails to

work/sof/src/probe/probe.c:170: undefined reference to `dma_copy_set_stream_tag'

To Reproduce
Add to app/prj.conf

CONFIG_PROBE=y
CONFIG_LOG_BACKEND_SOF_PROBE=y
CONFIG_LOG_BACKEND_SOF_PROBE_OUTPUT_DICTIONARY=y

Rebuild SOF for MTL.

Reproduction Rate
100%

Expected behavior
Build to succeed.

Impact
Unable to use probes to get FW logs.

Environment
Screenshots or console output
If applicable, add a screenshot (drag-and-drop an image), or console logs

Activity

  1. added
    bugSomething isn't working as expected
    P1Blocker bugs or important features
    MTLApplies to Meteor Lake platform
    on Mar 6, 2023
  2. lgirdwood commented on Mar 6, 2023

    @lgirdwood
    Member
  3. self-assigned this
    on Mar 7, 2023
  4. abonislawski commented on Mar 7, 2023

    @abonislawski
    Member

    Fixed here in a test patch (added zephyr dma support):
    https://github.com/abonislawski/sof/tree/probes_zephyr_dma
    extraction probes and logging works fine, injection still not working

    Open: probe.c looks now really ugly with tons of ifdefs for IPC3, IPC4 and zephyr drivers, is it still needed or can I remove everything except IPC4+Zephyr?

  5. kv2019i commented on Mar 7, 2023

    @kv2019i
    CollaboratorAuthor

    @abonislawski A quick smoketest was succesful at least! As for the ifdefs, that's tricky as this is generic functionality and not really limited to Intel platforms. Maybe the IPC4 path can be limited to Zephyr and native drivers only.

  6. lrudyX commented on Mar 24, 2023

    @lrudyX

    Change priority to P2. Optional debug feature

  7. added
    P2Critical bugs or normal features
    and removed
    P1Blocker bugs or important features
    on Mar 24, 2023
  8. added this to the v2.6 milestone on Mar 29, 2023
  9. modified the milestones: v2.6, v2.7 on May 10, 2023
  10. kv2019i commented on Aug 17, 2023

    @kv2019i
    CollaboratorAuthor

    Fixed in #7989

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

Metadata

Metadata

Assignees

Labels

MTLApplies to Meteor Lake platformP2Critical bugs or normal featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions