Skip to content

thread_analyzer: Stack/Free columns show '?' for non-Boreas threads #30

Description

@swoisz

thread_analyzer (shell thread command) shows ? in the Stack/Free columns for threads not created through k_thread_create (IDLE, ipc, main): FreeRTOS TaskStatus_t does not expose total stack size, while Boreas threads carry it in k_thread.stack_size.

Options:

  • k_thread registry lookup keyed by TaskHandle_t (clean, small)
  • Accept ? for system threads and document it

Good first issue: isolated to the thread_analyzer shell command, no kernel changes.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions