Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug stream thread info pr #9398

Merged
merged 4 commits into from
Sep 6, 2024

Commits on Sep 5, 2024

  1. debug: debug_stream: Add debug stream record and stream header defini…

    …tion
    
    This commit adds definition for abstract debug stream record and
    stream header. The header file contains the necessary documentation.
    
    Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
    Jyri Sarha committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    cf4ce75 View commit details
    Browse the repository at this point in the history
  2. debug: debug_stream_slot: Debug slot transportation for debug_stream

    Implementation for debug stream transportation over debug window
    slot. The protocol details are documented in debug_stream_slot.h
    header.
    
    Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
    Jyri Sarha committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    7673c8a View commit details
    Browse the repository at this point in the history
  3. debug: debug_stream_thread_info: Thread info records over debug stream

    Implementation for collecting Thread stack and CPU usage statistic from
    Zephyr core and send the info and debug_stream records. The records
    encoding is defined and documented in debug_stream_thread_info.c
    source file.
    
    Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
    Jyri Sarha committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    aef4ee3 View commit details
    Browse the repository at this point in the history
  4. tools: debug_stream.py: debug_stream record receiving and decoding

    Python implementation for receiving and decoding debug-stream records
    from debug window slot transportation. Opens SOF debugfs file
    "debug_stream" reads and decodes the records from the circular buffer
    documented in soc_debug_window_slot.h. This initial version only knows
    of DEBUG_STREAM_RECORD_ID_THREAD_INFO records.
    
    Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
    Jyri Sarha committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    5fe5744 View commit details
    Browse the repository at this point in the history